Class CreateJobResourceFromImageDecorator

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Visitor<io.fabric8.kubernetes.api.model.KubernetesListBuilder>, Comparable<io.dekorate.kubernetes.decorator.Decorator>

    public class CreateJobResourceFromImageDecorator
    extends io.dekorate.kubernetes.decorator.ResourceProvidingDecorator<io.fabric8.kubernetes.api.model.KubernetesListBuilder>
    Create a new Job resource using an image, the command, and arguments.
    • Field Summary

      • Fields inherited from class io.dekorate.kubernetes.decorator.ResourceProvidingDecorator

        ANY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visit​(io.fabric8.kubernetes.api.model.KubernetesListBuilder list)  
      • Methods inherited from class io.dekorate.kubernetes.decorator.ResourceProvidingDecorator

        contains, getDeploymentHasMetadata, getDeploymentHasMetadata, getDeploymentMetadata, getDeploymentMetadata, getDeploymentMetadataList, getDeploymentMetadataList, getMandatoryDeploymentHasMetadata, getMandatoryDeploymentHasMetadata, getMandatoryDeploymentMetadata, getMandatoryDeploymentMetadata, match
      • Methods inherited from class io.dekorate.kubernetes.decorator.Decorator

        after, before, compareTo
      • Methods inherited from class io.fabric8.kubernetes.api.builder.TypedVisitor

        getType
      • Methods inherited from interface io.fabric8.kubernetes.api.builder.Visitor

        addRequirement, addRequirement, canVisit, getRequirement, hasItem, hasVisitMethodMatching, order, visit
    • Constructor Detail

      • CreateJobResourceFromImageDecorator

        public CreateJobResourceFromImageDecorator​(String name,
                                                   String image,
                                                   List<String> command,
                                                   List<String> arguments)
    • Method Detail

      • visit

        public void visit​(io.fabric8.kubernetes.api.model.KubernetesListBuilder list)