io.alauda.devops.api.model.SourceBuildStrategyFluent Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.model.EnvVarBuilder;
import io.alauda.kubernetes.api.builder.Predicate;
import io.alauda.kubernetes.api.model.ObjectReference;
import java.lang.Deprecated;
import io.alauda.kubernetes.api.model.EnvVar;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.model.LocalObjectReferenceFluent;
import io.alauda.kubernetes.api.model.EnvVarFluent;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.model.LocalObjectReferenceBuilder;
import io.alauda.kubernetes.api.model.ObjectReferenceFluent;
import javax.validation.Valid;
import io.alauda.kubernetes.api.model.ObjectReferenceBuilder;
import io.alauda.kubernetes.api.model.LocalObjectReference;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface SourceBuildStrategyFluent> extends Fluent{
public A addToEnv(int index,EnvVar item);
public A setToEnv(int index,EnvVar item);
public A addToEnv(EnvVar... items);
public A addAllToEnv(Collection items);
public A removeFromEnv(EnvVar... items);
public A removeAllFromEnv(Collection items);
/**
* This method has been deprecated, please use method buildEnv instead.
*/
@Deprecated public List getEnv();
public List buildEnv();
public EnvVar buildEnv(int index);
public EnvVar buildFirstEnv();
public EnvVar buildLastEnv();
public EnvVar buildMatchingEnv(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withEnv(List env);
public A withEnv(EnvVar... env);
public Boolean hasEnv();
public SourceBuildStrategyFluent.EnvNested addNewEnv();
public SourceBuildStrategyFluent.EnvNested addNewEnvLike(EnvVar item);
public SourceBuildStrategyFluent.EnvNested setNewEnvLike(int index,EnvVar item);
public SourceBuildStrategyFluent.EnvNested editEnv(int index);
public SourceBuildStrategyFluent.EnvNested editFirstEnv();
public SourceBuildStrategyFluent.EnvNested editLastEnv();
public SourceBuildStrategyFluent.EnvNested editMatchingEnv(io.alauda.kubernetes.api.builder.Predicate predicate);
public Boolean isForcePull();
public A withForcePull(Boolean forcePull);
public Boolean hasForcePull();
/**
* This method has been deprecated, please use method buildFrom instead.
*/
@Deprecated public ObjectReference getFrom();
public ObjectReference buildFrom();
public A withFrom(ObjectReference from);
public Boolean hasFrom();
public SourceBuildStrategyFluent.FromNested withNewFrom();
public SourceBuildStrategyFluent.FromNested withNewFromLike(ObjectReference item);
public SourceBuildStrategyFluent.FromNested editFrom();
public SourceBuildStrategyFluent.FromNested editOrNewFrom();
public SourceBuildStrategyFluent.FromNested editOrNewFromLike(ObjectReference item);
public Boolean isIncremental();
public A withIncremental(Boolean incremental);
public Boolean hasIncremental();
/**
* This method has been deprecated, please use method buildPullSecret instead.
*/
@Deprecated public LocalObjectReference getPullSecret();
public LocalObjectReference buildPullSecret();
public A withPullSecret(LocalObjectReference pullSecret);
public Boolean hasPullSecret();
public SourceBuildStrategyFluent.PullSecretNested withNewPullSecret();
public SourceBuildStrategyFluent.PullSecretNested withNewPullSecretLike(LocalObjectReference item);
public SourceBuildStrategyFluent.PullSecretNested editPullSecret();
public SourceBuildStrategyFluent.PullSecretNested editOrNewPullSecret();
public SourceBuildStrategyFluent.PullSecretNested editOrNewPullSecretLike(LocalObjectReference item);
public A withNewPullSecret(String name);
public A addToRuntimeArtifacts(int index,ImageSourcePath item);
public A setToRuntimeArtifacts(int index,ImageSourcePath item);
public A addToRuntimeArtifacts(ImageSourcePath... items);
public A addAllToRuntimeArtifacts(Collection items);
public A removeFromRuntimeArtifacts(ImageSourcePath... items);
public A removeAllFromRuntimeArtifacts(Collection items);
/**
* This method has been deprecated, please use method buildRuntimeArtifacts instead.
*/
@Deprecated public List getRuntimeArtifacts();
public List buildRuntimeArtifacts();
public ImageSourcePath buildRuntimeArtifact(int index);
public ImageSourcePath buildFirstRuntimeArtifact();
public ImageSourcePath buildLastRuntimeArtifact();
public ImageSourcePath buildMatchingRuntimeArtifact(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withRuntimeArtifacts(List runtimeArtifacts);
public A withRuntimeArtifacts(ImageSourcePath... runtimeArtifacts);
public Boolean hasRuntimeArtifacts();
public SourceBuildStrategyFluent.RuntimeArtifactsNested addNewRuntimeArtifact();
public SourceBuildStrategyFluent.RuntimeArtifactsNested addNewRuntimeArtifactLike(ImageSourcePath item);
public SourceBuildStrategyFluent.RuntimeArtifactsNested setNewRuntimeArtifactLike(int index,ImageSourcePath item);
public SourceBuildStrategyFluent.RuntimeArtifactsNested editRuntimeArtifact(int index);
public SourceBuildStrategyFluent.RuntimeArtifactsNested editFirstRuntimeArtifact();
public SourceBuildStrategyFluent.RuntimeArtifactsNested editLastRuntimeArtifact();
public SourceBuildStrategyFluent.RuntimeArtifactsNested editMatchingRuntimeArtifact(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewRuntimeArtifact(String destinationDir,String sourcePath);
/**
* This method has been deprecated, please use method buildRuntimeImage instead.
*/
@Deprecated public ObjectReference getRuntimeImage();
public ObjectReference buildRuntimeImage();
public A withRuntimeImage(ObjectReference runtimeImage);
public Boolean hasRuntimeImage();
public SourceBuildStrategyFluent.RuntimeImageNested withNewRuntimeImage();
public SourceBuildStrategyFluent.RuntimeImageNested withNewRuntimeImageLike(ObjectReference item);
public SourceBuildStrategyFluent.RuntimeImageNested editRuntimeImage();
public SourceBuildStrategyFluent.RuntimeImageNested editOrNewRuntimeImage();
public SourceBuildStrategyFluent.RuntimeImageNested editOrNewRuntimeImageLike(ObjectReference item);
public String getScripts();
public A withScripts(String scripts);
public Boolean hasScripts();
public interface EnvNested extends io.alauda.kubernetes.api.builder.Nested,EnvVarFluent>{
public N and(); public N endEnv();
}
public interface FromNested extends io.alauda.kubernetes.api.builder.Nested,ObjectReferenceFluent>{
public N and(); public N endFrom();
}
public interface PullSecretNested extends io.alauda.kubernetes.api.builder.Nested,LocalObjectReferenceFluent>{
public N and(); public N endPullSecret();
}
public interface RuntimeArtifactsNested extends io.alauda.kubernetes.api.builder.Nested,ImageSourcePathFluent>{
public N and(); public N endRuntimeArtifact();
}
public interface RuntimeImageNested extends io.alauda.kubernetes.api.builder.Nested,ObjectReferenceFluent>{
public N and(); public N endRuntimeImage();
}
}