Annotation Type KubernetesResource


  • public @interface KubernetesResource
    Author:
    Kabir Khan
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String definitionLocation
      The location of the the resource definition.
    • Element Detail

      • definitionLocation

        String definitionLocation
        The location of the the resource definition. This can either be a local file or a URL. If it is a local file, and not absolute, the location is taken to be relative to the root of the project containing the test.
        Returns:
        the location of the resource definition
      • additionalResourcesCreated

        Resource[] additionalResourcesCreated
        Additional resources to wait for to be ready. In some cases they are not listed by the resources in definitionLocation() but rather created 'behind the scenes.
        Returns:
        The additional Resources to wait for
        Default:
        {}
      • readinessTimeout

        long readinessTimeout
        How long to wait for the resource to become active
        Returns:
        the timeout
        Default:
        500000L