io.alauda.devops.api.model.ImageSignatureFluent 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 io.alauda.kubernetes.api.model.validators.CheckObjectMeta;
import java.lang.String;
import javax.validation.constraints.NotNull;
import io.alauda.kubernetes.api.builder.Predicate;
import io.alauda.kubernetes.api.model.ObjectMetaFluent;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.model.ObjectMeta;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.model.ObjectMetaBuilder;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface ImageSignatureFluent> extends Fluent{
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
public A addToConditions(int index,SignatureCondition item);
public A setToConditions(int index,SignatureCondition item);
public A addToConditions(SignatureCondition... items);
public A addAllToConditions(Collection items);
public A removeFromConditions(SignatureCondition... items);
public A removeAllFromConditions(Collection items);
/**
* This method has been deprecated, please use method buildConditions instead.
*/
@Deprecated public List getConditions();
public List buildConditions();
public SignatureCondition buildCondition(int index);
public SignatureCondition buildFirstCondition();
public SignatureCondition buildLastCondition();
public SignatureCondition buildMatchingCondition(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withConditions(List conditions);
public A withConditions(SignatureCondition... conditions);
public Boolean hasConditions();
public ImageSignatureFluent.ConditionsNested addNewCondition();
public ImageSignatureFluent.ConditionsNested addNewConditionLike(SignatureCondition item);
public ImageSignatureFluent.ConditionsNested setNewConditionLike(int index,SignatureCondition item);
public ImageSignatureFluent.ConditionsNested editCondition(int index);
public ImageSignatureFluent.ConditionsNested editFirstCondition();
public ImageSignatureFluent.ConditionsNested editLastCondition();
public ImageSignatureFluent.ConditionsNested editMatchingCondition(io.alauda.kubernetes.api.builder.Predicate predicate);
public String getContent();
public A withContent(String content);
public Boolean hasContent();
public String getCreated();
public A withCreated(String created);
public Boolean hasCreated();
public String getImageIdentity();
public A withImageIdentity(String imageIdentity);
public Boolean hasImageIdentity();
/**
* This method has been deprecated, please use method buildIssuedBy instead.
*/
@Deprecated public SignatureIssuer getIssuedBy();
public SignatureIssuer buildIssuedBy();
public A withIssuedBy(SignatureIssuer issuedBy);
public Boolean hasIssuedBy();
public ImageSignatureFluent.IssuedByNested withNewIssuedBy();
public ImageSignatureFluent.IssuedByNested withNewIssuedByLike(SignatureIssuer item);
public ImageSignatureFluent.IssuedByNested editIssuedBy();
public ImageSignatureFluent.IssuedByNested editOrNewIssuedBy();
public ImageSignatureFluent.IssuedByNested editOrNewIssuedByLike(SignatureIssuer item);
public A withNewIssuedBy(String commonName,String organization);
/**
* This method has been deprecated, please use method buildIssuedTo instead.
*/
@Deprecated public SignatureSubject getIssuedTo();
public SignatureSubject buildIssuedTo();
public A withIssuedTo(SignatureSubject issuedTo);
public Boolean hasIssuedTo();
public ImageSignatureFluent.IssuedToNested withNewIssuedTo();
public ImageSignatureFluent.IssuedToNested withNewIssuedToLike(SignatureSubject item);
public ImageSignatureFluent.IssuedToNested editIssuedTo();
public ImageSignatureFluent.IssuedToNested editOrNewIssuedTo();
public ImageSignatureFluent.IssuedToNested editOrNewIssuedToLike(SignatureSubject item);
public A withNewIssuedTo(String commonName,String organization,String publicKeyID);
public String getKind();
public A withKind(String kind);
public Boolean hasKind();
/**
* This method has been deprecated, please use method buildMetadata instead.
*/
@Deprecated public ObjectMeta getMetadata();
public ObjectMeta buildMetadata();
public A withMetadata(ObjectMeta metadata);
public Boolean hasMetadata();
public ImageSignatureFluent.MetadataNested withNewMetadata();
public ImageSignatureFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public ImageSignatureFluent.MetadataNested editMetadata();
public ImageSignatureFluent.MetadataNested editOrNewMetadata();
public ImageSignatureFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
public A addToSignedClaims(String key,String value);
public A addToSignedClaims(Map map);
public A removeFromSignedClaims(String key);
public A removeFromSignedClaims(Map map);
public Map getSignedClaims();
public A withSignedClaims(Map signedClaims);
public Boolean hasSignedClaims();
public String getType();
public A withType(String type);
public Boolean hasType();
public interface ConditionsNested extends io.alauda.kubernetes.api.builder.Nested,SignatureConditionFluent>{
public N and(); public N endCondition();
}
public interface IssuedByNested extends io.alauda.kubernetes.api.builder.Nested,SignatureIssuerFluent>{
public N and(); public N endIssuedBy();
}
public interface IssuedToNested extends io.alauda.kubernetes.api.builder.Nested,SignatureSubjectFluent>{
public N and(); public N endIssuedTo();
}
public interface MetadataNested extends io.alauda.kubernetes.api.builder.Nested,ObjectMetaFluent>{
public N and(); public N endMetadata();
}
}