me.snowdrop.istio.adapter.kubernetesenv.Kubernetesenv Maven / Gradle / Ivy
package me.snowdrop.istio.adapter.kubernetesenv;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import me.snowdrop.istio.api.internal.IstioKind;
import me.snowdrop.istio.api.model.IstioSpec;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"cacheRefreshDuration",
"clusterDomainName",
"fullyQualifiedIstioIngressServiceName",
"kubeconfigPath",
"lookupIngressSourceAndOriginValues",
"podLabelForIstioComponentService",
"podLabelForService"
})
@IstioKind(name = "kubernetesenv")
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class Kubernetesenv implements Serializable, IstioSpec
{
/**
*
*
*/
@JsonProperty("cacheRefreshDuration")
@JsonPropertyDescription("")
private Long cacheRefreshDuration;
/**
*
*
*/
@JsonProperty("clusterDomainName")
@JsonPropertyDescription("")
private String clusterDomainName;
/**
*
*
*/
@JsonProperty("fullyQualifiedIstioIngressServiceName")
@JsonPropertyDescription("")
private String fullyQualifiedIstioIngressServiceName;
/**
*
*
*/
@JsonProperty("kubeconfigPath")
@JsonPropertyDescription("")
private String kubeconfigPath;
/**
*
*
*/
@JsonProperty("lookupIngressSourceAndOriginValues")
@JsonPropertyDescription("")
private Boolean lookupIngressSourceAndOriginValues;
/**
*
*
*/
@JsonProperty("podLabelForIstioComponentService")
@JsonPropertyDescription("")
private String podLabelForIstioComponentService;
/**
*
*
*/
@JsonProperty("podLabelForService")
@JsonPropertyDescription("")
private String podLabelForService;
@JsonIgnore
@Valid
private Map additionalProperties = new HashMap();
private final static long serialVersionUID = 3624993453849525870L;
/**
* No args constructor for use in serialization
*
*/
public Kubernetesenv() {
}
/**
*
* @param clusterDomainName
* @param podLabelForService
* @param cacheRefreshDuration
* @param lookupIngressSourceAndOriginValues
* @param kubeconfigPath
* @param fullyQualifiedIstioIngressServiceName
* @param podLabelForIstioComponentService
*/
public Kubernetesenv(Long cacheRefreshDuration, String clusterDomainName, String fullyQualifiedIstioIngressServiceName, String kubeconfigPath, Boolean lookupIngressSourceAndOriginValues, String podLabelForIstioComponentService, String podLabelForService) {
super();
this.cacheRefreshDuration = cacheRefreshDuration;
this.clusterDomainName = clusterDomainName;
this.fullyQualifiedIstioIngressServiceName = fullyQualifiedIstioIngressServiceName;
this.kubeconfigPath = kubeconfigPath;
this.lookupIngressSourceAndOriginValues = lookupIngressSourceAndOriginValues;
this.podLabelForIstioComponentService = podLabelForIstioComponentService;
this.podLabelForService = podLabelForService;
}
/**
*
*
*/
@JsonProperty("cacheRefreshDuration")
public Long getCacheRefreshDuration() {
return cacheRefreshDuration;
}
/**
*
*
*/
@JsonProperty("cacheRefreshDuration")
public void setCacheRefreshDuration(Long cacheRefreshDuration) {
this.cacheRefreshDuration = cacheRefreshDuration;
}
/**
*
*
*/
@JsonProperty("clusterDomainName")
public String getClusterDomainName() {
return clusterDomainName;
}
/**
*
*
*/
@JsonProperty("clusterDomainName")
public void setClusterDomainName(String clusterDomainName) {
this.clusterDomainName = clusterDomainName;
}
/**
*
*
*/
@JsonProperty("fullyQualifiedIstioIngressServiceName")
public String getFullyQualifiedIstioIngressServiceName() {
return fullyQualifiedIstioIngressServiceName;
}
/**
*
*
*/
@JsonProperty("fullyQualifiedIstioIngressServiceName")
public void setFullyQualifiedIstioIngressServiceName(String fullyQualifiedIstioIngressServiceName) {
this.fullyQualifiedIstioIngressServiceName = fullyQualifiedIstioIngressServiceName;
}
/**
*
*
*/
@JsonProperty("kubeconfigPath")
public String getKubeconfigPath() {
return kubeconfigPath;
}
/**
*
*
*/
@JsonProperty("kubeconfigPath")
public void setKubeconfigPath(String kubeconfigPath) {
this.kubeconfigPath = kubeconfigPath;
}
/**
*
*
*/
@JsonProperty("lookupIngressSourceAndOriginValues")
public Boolean getLookupIngressSourceAndOriginValues() {
return lookupIngressSourceAndOriginValues;
}
/**
*
*
*/
@JsonProperty("lookupIngressSourceAndOriginValues")
public void setLookupIngressSourceAndOriginValues(Boolean lookupIngressSourceAndOriginValues) {
this.lookupIngressSourceAndOriginValues = lookupIngressSourceAndOriginValues;
}
/**
*
*
*/
@JsonProperty("podLabelForIstioComponentService")
public String getPodLabelForIstioComponentService() {
return podLabelForIstioComponentService;
}
/**
*
*
*/
@JsonProperty("podLabelForIstioComponentService")
public void setPodLabelForIstioComponentService(String podLabelForIstioComponentService) {
this.podLabelForIstioComponentService = podLabelForIstioComponentService;
}
/**
*
*
*/
@JsonProperty("podLabelForService")
public String getPodLabelForService() {
return podLabelForService;
}
/**
*
*
*/
@JsonProperty("podLabelForService")
public void setPodLabelForService(String podLabelForService) {
this.podLabelForService = podLabelForService;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy