io.alauda.devops.api.model.BuildSourceFluent 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.builder.Predicate;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.model.LocalObjectReferenceFluent;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.model.LocalObjectReferenceBuilder;
import javax.validation.Valid;
import io.alauda.kubernetes.api.model.LocalObjectReference;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface BuildSourceFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildBinary instead.
*/
@Deprecated public BinaryBuildSource getBinary();
public BinaryBuildSource buildBinary();
public A withBinary(BinaryBuildSource binary);
public Boolean hasBinary();
public BuildSourceFluent.BinaryNested withNewBinary();
public BuildSourceFluent.BinaryNested withNewBinaryLike(BinaryBuildSource item);
public BuildSourceFluent.BinaryNested editBinary();
public BuildSourceFluent.BinaryNested editOrNewBinary();
public BuildSourceFluent.BinaryNested editOrNewBinaryLike(BinaryBuildSource item);
public A withNewBinary(String asFile);
public String getContextDir();
public A withContextDir(String contextDir);
public Boolean hasContextDir();
public String getDockerfile();
public A withDockerfile(String dockerfile);
public Boolean hasDockerfile();
/**
* This method has been deprecated, please use method buildGit instead.
*/
@Deprecated public GitBuildSource getGit();
public GitBuildSource buildGit();
public A withGit(GitBuildSource git);
public Boolean hasGit();
public BuildSourceFluent.GitNested withNewGit();
public BuildSourceFluent.GitNested withNewGitLike(GitBuildSource item);
public BuildSourceFluent.GitNested editGit();
public BuildSourceFluent.GitNested editOrNewGit();
public BuildSourceFluent.GitNested editOrNewGitLike(GitBuildSource item);
public A withNewGit(String httpProxy,String httpsProxy,String noProxy,String ref,String uri);
public A addToImages(int index,ImageSource item);
public A setToImages(int index,ImageSource item);
public A addToImages(ImageSource... items);
public A addAllToImages(Collection items);
public A removeFromImages(ImageSource... items);
public A removeAllFromImages(Collection items);
/**
* This method has been deprecated, please use method buildImages instead.
*/
@Deprecated public List getImages();
public List buildImages();
public ImageSource buildImage(int index);
public ImageSource buildFirstImage();
public ImageSource buildLastImage();
public ImageSource buildMatchingImage(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withImages(List images);
public A withImages(ImageSource... images);
public Boolean hasImages();
public BuildSourceFluent.ImagesNested addNewImage();
public BuildSourceFluent.ImagesNested addNewImageLike(ImageSource item);
public BuildSourceFluent.ImagesNested setNewImageLike(int index,ImageSource item);
public BuildSourceFluent.ImagesNested editImage(int index);
public BuildSourceFluent.ImagesNested editFirstImage();
public BuildSourceFluent.ImagesNested editLastImage();
public BuildSourceFluent.ImagesNested editMatchingImage(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addToSecrets(int index,SecretBuildSource item);
public A setToSecrets(int index,SecretBuildSource item);
public A addToSecrets(SecretBuildSource... items);
public A addAllToSecrets(Collection items);
public A removeFromSecrets(SecretBuildSource... items);
public A removeAllFromSecrets(Collection items);
/**
* This method has been deprecated, please use method buildSecrets instead.
*/
@Deprecated public List getSecrets();
public List buildSecrets();
public SecretBuildSource buildSecret(int index);
public SecretBuildSource buildFirstSecret();
public SecretBuildSource buildLastSecret();
public SecretBuildSource buildMatchingSecret(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withSecrets(List secrets);
public A withSecrets(SecretBuildSource... secrets);
public Boolean hasSecrets();
public BuildSourceFluent.SecretsNested addNewSecret();
public BuildSourceFluent.SecretsNested addNewSecretLike(SecretBuildSource item);
public BuildSourceFluent.SecretsNested setNewSecretLike(int index,SecretBuildSource item);
public BuildSourceFluent.SecretsNested editSecret(int index);
public BuildSourceFluent.SecretsNested editFirstSecret();
public BuildSourceFluent.SecretsNested editLastSecret();
public BuildSourceFluent.SecretsNested editMatchingSecret(io.alauda.kubernetes.api.builder.Predicate predicate);
/**
* This method has been deprecated, please use method buildSourceSecret instead.
*/
@Deprecated public LocalObjectReference getSourceSecret();
public LocalObjectReference buildSourceSecret();
public A withSourceSecret(LocalObjectReference sourceSecret);
public Boolean hasSourceSecret();
public BuildSourceFluent.SourceSecretNested withNewSourceSecret();
public BuildSourceFluent.SourceSecretNested withNewSourceSecretLike(LocalObjectReference item);
public BuildSourceFluent.SourceSecretNested editSourceSecret();
public BuildSourceFluent.SourceSecretNested editOrNewSourceSecret();
public BuildSourceFluent.SourceSecretNested editOrNewSourceSecretLike(LocalObjectReference item);
public A withNewSourceSecret(String name);
public String getType();
public A withType(String type);
public Boolean hasType();
public interface BinaryNested extends io.alauda.kubernetes.api.builder.Nested,BinaryBuildSourceFluent>{
public N and(); public N endBinary();
}
public interface GitNested extends io.alauda.kubernetes.api.builder.Nested,GitBuildSourceFluent>{
public N and(); public N endGit();
}
public interface ImagesNested extends io.alauda.kubernetes.api.builder.Nested,ImageSourceFluent>{
public N and(); public N endImage();
}
public interface SecretsNested extends io.alauda.kubernetes.api.builder.Nested,SecretBuildSourceFluent>{
public N and(); public N endSecret();
}
public interface SourceSecretNested extends io.alauda.kubernetes.api.builder.Nested,LocalObjectReferenceFluent>{
public N and(); public N endSourceSecret();
}
}