diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSCommon.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSCommon.java new file mode 100644 index 0000000000..b69f055883 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSCommon.java @@ -0,0 +1,144 @@ + +package io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "overrideEndpoint", + "region", + "uriEndpointOverride" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class AWSCommon implements Editable, KubernetesResource +{ + + @JsonProperty("overrideEndpoint") + private Boolean overrideEndpoint; + @JsonProperty("region") + private String region; + @JsonProperty("uriEndpointOverride") + private String uriEndpointOverride; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AWSCommon() { + } + + public AWSCommon(Boolean overrideEndpoint, String region, String uriEndpointOverride) { + super(); + this.overrideEndpoint = overrideEndpoint; + this.region = region; + this.uriEndpointOverride = uriEndpointOverride; + } + + @JsonProperty("overrideEndpoint") + public Boolean getOverrideEndpoint() { + return overrideEndpoint; + } + + @JsonProperty("overrideEndpoint") + public void setOverrideEndpoint(Boolean overrideEndpoint) { + this.overrideEndpoint = overrideEndpoint; + } + + @JsonProperty("region") + public String getRegion() { + return region; + } + + @JsonProperty("region") + public void setRegion(String region) { + this.region = region; + } + + @JsonProperty("uriEndpointOverride") + public String getUriEndpointOverride() { + return uriEndpointOverride; + } + + @JsonProperty("uriEndpointOverride") + public void setUriEndpointOverride(String uriEndpointOverride) { + this.uriEndpointOverride = uriEndpointOverride; + } + + @JsonIgnore + public AWSCommonBuilder edit() { + return new AWSCommonBuilder(this); + } + + @JsonIgnore + public AWSCommonBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSDDBStreams.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSDDBStreams.java new file mode 100644 index 0000000000..e4d5b261ca --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSDDBStreams.java @@ -0,0 +1,186 @@ + +package io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "delay", + "overrideEndpoint", + "region", + "streamIteratorType", + "table", + "uriEndpointOverride" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class AWSDDBStreams implements Editable, KubernetesResource +{ + + @JsonProperty("delay") + private Integer delay; + @JsonProperty("overrideEndpoint") + private Boolean overrideEndpoint; + @JsonProperty("region") + private String region; + @JsonProperty("streamIteratorType") + private String streamIteratorType; + @JsonProperty("table") + private String table; + @JsonProperty("uriEndpointOverride") + private String uriEndpointOverride; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AWSDDBStreams() { + } + + public AWSDDBStreams(Integer delay, Boolean overrideEndpoint, String region, String streamIteratorType, String table, String uriEndpointOverride) { + super(); + this.delay = delay; + this.overrideEndpoint = overrideEndpoint; + this.region = region; + this.streamIteratorType = streamIteratorType; + this.table = table; + this.uriEndpointOverride = uriEndpointOverride; + } + + @JsonProperty("delay") + public Integer getDelay() { + return delay; + } + + @JsonProperty("delay") + public void setDelay(Integer delay) { + this.delay = delay; + } + + @JsonProperty("overrideEndpoint") + public Boolean getOverrideEndpoint() { + return overrideEndpoint; + } + + @JsonProperty("overrideEndpoint") + public void setOverrideEndpoint(Boolean overrideEndpoint) { + this.overrideEndpoint = overrideEndpoint; + } + + @JsonProperty("region") + public String getRegion() { + return region; + } + + @JsonProperty("region") + public void setRegion(String region) { + this.region = region; + } + + @JsonProperty("streamIteratorType") + public String getStreamIteratorType() { + return streamIteratorType; + } + + @JsonProperty("streamIteratorType") + public void setStreamIteratorType(String streamIteratorType) { + this.streamIteratorType = streamIteratorType; + } + + @JsonProperty("table") + public String getTable() { + return table; + } + + @JsonProperty("table") + public void setTable(String table) { + this.table = table; + } + + @JsonProperty("uriEndpointOverride") + public String getUriEndpointOverride() { + return uriEndpointOverride; + } + + @JsonProperty("uriEndpointOverride") + public void setUriEndpointOverride(String uriEndpointOverride) { + this.uriEndpointOverride = uriEndpointOverride; + } + + @JsonIgnore + public AWSDDBStreamsBuilder edit() { + return new AWSDDBStreamsBuilder(this); + } + + @JsonIgnore + public AWSDDBStreamsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSS3.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSS3.java new file mode 100644 index 0000000000..cacd3ad2ac --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSS3.java @@ -0,0 +1,312 @@ + +package io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "arn", + "autoCreateBucket", + "delay", + "deleteAfterRead", + "destinationBucket", + "destinationBucketPrefix", + "destinationBucketSuffix", + "forcePathStyle", + "ignoreBody", + "maxMessagesPerPoll", + "moveAfterRead", + "overrideEndpoint", + "prefix", + "region", + "uriEndpointOverride" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class AWSS3 implements Editable, KubernetesResource +{ + + @JsonProperty("arn") + private String arn; + @JsonProperty("autoCreateBucket") + private Boolean autoCreateBucket; + @JsonProperty("delay") + private Integer delay; + @JsonProperty("deleteAfterRead") + private Boolean deleteAfterRead; + @JsonProperty("destinationBucket") + private String destinationBucket; + @JsonProperty("destinationBucketPrefix") + private String destinationBucketPrefix; + @JsonProperty("destinationBucketSuffix") + private String destinationBucketSuffix; + @JsonProperty("forcePathStyle") + private Boolean forcePathStyle; + @JsonProperty("ignoreBody") + private Boolean ignoreBody; + @JsonProperty("maxMessagesPerPoll") + private Integer maxMessagesPerPoll; + @JsonProperty("moveAfterRead") + private Boolean moveAfterRead; + @JsonProperty("overrideEndpoint") + private Boolean overrideEndpoint; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("region") + private String region; + @JsonProperty("uriEndpointOverride") + private String uriEndpointOverride; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AWSS3() { + } + + public AWSS3(String arn, Boolean autoCreateBucket, Integer delay, Boolean deleteAfterRead, String destinationBucket, String destinationBucketPrefix, String destinationBucketSuffix, Boolean forcePathStyle, Boolean ignoreBody, Integer maxMessagesPerPoll, Boolean moveAfterRead, Boolean overrideEndpoint, String prefix, String region, String uriEndpointOverride) { + super(); + this.arn = arn; + this.autoCreateBucket = autoCreateBucket; + this.delay = delay; + this.deleteAfterRead = deleteAfterRead; + this.destinationBucket = destinationBucket; + this.destinationBucketPrefix = destinationBucketPrefix; + this.destinationBucketSuffix = destinationBucketSuffix; + this.forcePathStyle = forcePathStyle; + this.ignoreBody = ignoreBody; + this.maxMessagesPerPoll = maxMessagesPerPoll; + this.moveAfterRead = moveAfterRead; + this.overrideEndpoint = overrideEndpoint; + this.prefix = prefix; + this.region = region; + this.uriEndpointOverride = uriEndpointOverride; + } + + @JsonProperty("arn") + public String getArn() { + return arn; + } + + @JsonProperty("arn") + public void setArn(String arn) { + this.arn = arn; + } + + @JsonProperty("autoCreateBucket") + public Boolean getAutoCreateBucket() { + return autoCreateBucket; + } + + @JsonProperty("autoCreateBucket") + public void setAutoCreateBucket(Boolean autoCreateBucket) { + this.autoCreateBucket = autoCreateBucket; + } + + @JsonProperty("delay") + public Integer getDelay() { + return delay; + } + + @JsonProperty("delay") + public void setDelay(Integer delay) { + this.delay = delay; + } + + @JsonProperty("deleteAfterRead") + public Boolean getDeleteAfterRead() { + return deleteAfterRead; + } + + @JsonProperty("deleteAfterRead") + public void setDeleteAfterRead(Boolean deleteAfterRead) { + this.deleteAfterRead = deleteAfterRead; + } + + @JsonProperty("destinationBucket") + public String getDestinationBucket() { + return destinationBucket; + } + + @JsonProperty("destinationBucket") + public void setDestinationBucket(String destinationBucket) { + this.destinationBucket = destinationBucket; + } + + @JsonProperty("destinationBucketPrefix") + public String getDestinationBucketPrefix() { + return destinationBucketPrefix; + } + + @JsonProperty("destinationBucketPrefix") + public void setDestinationBucketPrefix(String destinationBucketPrefix) { + this.destinationBucketPrefix = destinationBucketPrefix; + } + + @JsonProperty("destinationBucketSuffix") + public String getDestinationBucketSuffix() { + return destinationBucketSuffix; + } + + @JsonProperty("destinationBucketSuffix") + public void setDestinationBucketSuffix(String destinationBucketSuffix) { + this.destinationBucketSuffix = destinationBucketSuffix; + } + + @JsonProperty("forcePathStyle") + public Boolean getForcePathStyle() { + return forcePathStyle; + } + + @JsonProperty("forcePathStyle") + public void setForcePathStyle(Boolean forcePathStyle) { + this.forcePathStyle = forcePathStyle; + } + + @JsonProperty("ignoreBody") + public Boolean getIgnoreBody() { + return ignoreBody; + } + + @JsonProperty("ignoreBody") + public void setIgnoreBody(Boolean ignoreBody) { + this.ignoreBody = ignoreBody; + } + + @JsonProperty("maxMessagesPerPoll") + public Integer getMaxMessagesPerPoll() { + return maxMessagesPerPoll; + } + + @JsonProperty("maxMessagesPerPoll") + public void setMaxMessagesPerPoll(Integer maxMessagesPerPoll) { + this.maxMessagesPerPoll = maxMessagesPerPoll; + } + + @JsonProperty("moveAfterRead") + public Boolean getMoveAfterRead() { + return moveAfterRead; + } + + @JsonProperty("moveAfterRead") + public void setMoveAfterRead(Boolean moveAfterRead) { + this.moveAfterRead = moveAfterRead; + } + + @JsonProperty("overrideEndpoint") + public Boolean getOverrideEndpoint() { + return overrideEndpoint; + } + + @JsonProperty("overrideEndpoint") + public void setOverrideEndpoint(Boolean overrideEndpoint) { + this.overrideEndpoint = overrideEndpoint; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("region") + public String getRegion() { + return region; + } + + @JsonProperty("region") + public void setRegion(String region) { + this.region = region; + } + + @JsonProperty("uriEndpointOverride") + public String getUriEndpointOverride() { + return uriEndpointOverride; + } + + @JsonProperty("uriEndpointOverride") + public void setUriEndpointOverride(String uriEndpointOverride) { + this.uriEndpointOverride = uriEndpointOverride; + } + + @JsonIgnore + public AWSS3Builder edit() { + return new AWSS3Builder(this); + } + + @JsonIgnore + public AWSS3Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSSNS.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSSNS.java new file mode 100644 index 0000000000..54a2cbdb45 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSSNS.java @@ -0,0 +1,172 @@ + +package io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "arn", + "autoCreateTopic", + "overrideEndpoint", + "region", + "uriEndpointOverride" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class AWSSNS implements Editable, KubernetesResource +{ + + @JsonProperty("arn") + private String arn; + @JsonProperty("autoCreateTopic") + private Boolean autoCreateTopic; + @JsonProperty("overrideEndpoint") + private Boolean overrideEndpoint; + @JsonProperty("region") + private String region; + @JsonProperty("uriEndpointOverride") + private String uriEndpointOverride; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AWSSNS() { + } + + public AWSSNS(String arn, Boolean autoCreateTopic, Boolean overrideEndpoint, String region, String uriEndpointOverride) { + super(); + this.arn = arn; + this.autoCreateTopic = autoCreateTopic; + this.overrideEndpoint = overrideEndpoint; + this.region = region; + this.uriEndpointOverride = uriEndpointOverride; + } + + @JsonProperty("arn") + public String getArn() { + return arn; + } + + @JsonProperty("arn") + public void setArn(String arn) { + this.arn = arn; + } + + @JsonProperty("autoCreateTopic") + public Boolean getAutoCreateTopic() { + return autoCreateTopic; + } + + @JsonProperty("autoCreateTopic") + public void setAutoCreateTopic(Boolean autoCreateTopic) { + this.autoCreateTopic = autoCreateTopic; + } + + @JsonProperty("overrideEndpoint") + public Boolean getOverrideEndpoint() { + return overrideEndpoint; + } + + @JsonProperty("overrideEndpoint") + public void setOverrideEndpoint(Boolean overrideEndpoint) { + this.overrideEndpoint = overrideEndpoint; + } + + @JsonProperty("region") + public String getRegion() { + return region; + } + + @JsonProperty("region") + public void setRegion(String region) { + this.region = region; + } + + @JsonProperty("uriEndpointOverride") + public String getUriEndpointOverride() { + return uriEndpointOverride; + } + + @JsonProperty("uriEndpointOverride") + public void setUriEndpointOverride(String uriEndpointOverride) { + this.uriEndpointOverride = uriEndpointOverride; + } + + @JsonIgnore + public AWSSNSBuilder edit() { + return new AWSSNSBuilder(this); + } + + @JsonIgnore + public AWSSNSBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSSQS.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSSQS.java new file mode 100644 index 0000000000..ecafd5e208 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/AWSSQS.java @@ -0,0 +1,298 @@ + +package io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "arn", + "autoCreateQueue", + "delay", + "deleteAfterRead", + "greedy", + "host", + "maxMessagesPerPoll", + "overrideEndpoint", + "protocol", + "queueURL", + "region", + "uriEndpointOverride", + "visibilityTimeout", + "waitTimeSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class AWSSQS implements Editable, KubernetesResource +{ + + @JsonProperty("arn") + private String arn; + @JsonProperty("autoCreateQueue") + private Boolean autoCreateQueue; + @JsonProperty("delay") + private Integer delay; + @JsonProperty("deleteAfterRead") + private Boolean deleteAfterRead; + @JsonProperty("greedy") + private Boolean greedy; + @JsonProperty("host") + private String host; + @JsonProperty("maxMessagesPerPoll") + private Integer maxMessagesPerPoll; + @JsonProperty("overrideEndpoint") + private Boolean overrideEndpoint; + @JsonProperty("protocol") + private String protocol; + @JsonProperty("queueURL") + private String queueURL; + @JsonProperty("region") + private String region; + @JsonProperty("uriEndpointOverride") + private String uriEndpointOverride; + @JsonProperty("visibilityTimeout") + private Integer visibilityTimeout; + @JsonProperty("waitTimeSeconds") + private Integer waitTimeSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AWSSQS() { + } + + public AWSSQS(String arn, Boolean autoCreateQueue, Integer delay, Boolean deleteAfterRead, Boolean greedy, String host, Integer maxMessagesPerPoll, Boolean overrideEndpoint, String protocol, String queueURL, String region, String uriEndpointOverride, Integer visibilityTimeout, Integer waitTimeSeconds) { + super(); + this.arn = arn; + this.autoCreateQueue = autoCreateQueue; + this.delay = delay; + this.deleteAfterRead = deleteAfterRead; + this.greedy = greedy; + this.host = host; + this.maxMessagesPerPoll = maxMessagesPerPoll; + this.overrideEndpoint = overrideEndpoint; + this.protocol = protocol; + this.queueURL = queueURL; + this.region = region; + this.uriEndpointOverride = uriEndpointOverride; + this.visibilityTimeout = visibilityTimeout; + this.waitTimeSeconds = waitTimeSeconds; + } + + @JsonProperty("arn") + public String getArn() { + return arn; + } + + @JsonProperty("arn") + public void setArn(String arn) { + this.arn = arn; + } + + @JsonProperty("autoCreateQueue") + public Boolean getAutoCreateQueue() { + return autoCreateQueue; + } + + @JsonProperty("autoCreateQueue") + public void setAutoCreateQueue(Boolean autoCreateQueue) { + this.autoCreateQueue = autoCreateQueue; + } + + @JsonProperty("delay") + public Integer getDelay() { + return delay; + } + + @JsonProperty("delay") + public void setDelay(Integer delay) { + this.delay = delay; + } + + @JsonProperty("deleteAfterRead") + public Boolean getDeleteAfterRead() { + return deleteAfterRead; + } + + @JsonProperty("deleteAfterRead") + public void setDeleteAfterRead(Boolean deleteAfterRead) { + this.deleteAfterRead = deleteAfterRead; + } + + @JsonProperty("greedy") + public Boolean getGreedy() { + return greedy; + } + + @JsonProperty("greedy") + public void setGreedy(Boolean greedy) { + this.greedy = greedy; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("maxMessagesPerPoll") + public Integer getMaxMessagesPerPoll() { + return maxMessagesPerPoll; + } + + @JsonProperty("maxMessagesPerPoll") + public void setMaxMessagesPerPoll(Integer maxMessagesPerPoll) { + this.maxMessagesPerPoll = maxMessagesPerPoll; + } + + @JsonProperty("overrideEndpoint") + public Boolean getOverrideEndpoint() { + return overrideEndpoint; + } + + @JsonProperty("overrideEndpoint") + public void setOverrideEndpoint(Boolean overrideEndpoint) { + this.overrideEndpoint = overrideEndpoint; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonProperty("queueURL") + public String getQueueURL() { + return queueURL; + } + + @JsonProperty("queueURL") + public void setQueueURL(String queueURL) { + this.queueURL = queueURL; + } + + @JsonProperty("region") + public String getRegion() { + return region; + } + + @JsonProperty("region") + public void setRegion(String region) { + this.region = region; + } + + @JsonProperty("uriEndpointOverride") + public String getUriEndpointOverride() { + return uriEndpointOverride; + } + + @JsonProperty("uriEndpointOverride") + public void setUriEndpointOverride(String uriEndpointOverride) { + this.uriEndpointOverride = uriEndpointOverride; + } + + @JsonProperty("visibilityTimeout") + public Integer getVisibilityTimeout() { + return visibilityTimeout; + } + + @JsonProperty("visibilityTimeout") + public void setVisibilityTimeout(Integer visibilityTimeout) { + this.visibilityTimeout = visibilityTimeout; + } + + @JsonProperty("waitTimeSeconds") + public Integer getWaitTimeSeconds() { + return waitTimeSeconds; + } + + @JsonProperty("waitTimeSeconds") + public void setWaitTimeSeconds(Integer waitTimeSeconds) { + this.waitTimeSeconds = waitTimeSeconds; + } + + @JsonIgnore + public AWSSQSBuilder edit() { + return new AWSSQSBuilder(this); + } + + @JsonIgnore + public AWSSQSBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/Auth.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/Auth.java new file mode 100644 index 0000000000..2d742c8034 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/Auth.java @@ -0,0 +1,144 @@ + +package io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessKey", + "secret", + "secretKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class Auth implements Editable, KubernetesResource +{ + + @JsonProperty("accessKey") + private String accessKey; + @JsonProperty("secret") + private Secret secret; + @JsonProperty("secretKey") + private String secretKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Auth() { + } + + public Auth(String accessKey, Secret secret, String secretKey) { + super(); + this.accessKey = accessKey; + this.secret = secret; + this.secretKey = secretKey; + } + + @JsonProperty("accessKey") + public String getAccessKey() { + return accessKey; + } + + @JsonProperty("accessKey") + public void setAccessKey(String accessKey) { + this.accessKey = accessKey; + } + + @JsonProperty("secret") + public Secret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(Secret secret) { + this.secret = secret; + } + + @JsonProperty("secretKey") + public String getSecretKey() { + return secretKey; + } + + @JsonProperty("secretKey") + public void setSecretKey(String secretKey) { + this.secretKey = secretKey; + } + + @JsonIgnore + public AuthBuilder edit() { + return new AuthBuilder(this); + } + + @JsonIgnore + public AuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/Secret.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/Secret.java new file mode 100644 index 0000000000..3b1bb821f1 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/Secret.java @@ -0,0 +1,116 @@ + +package io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ref" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class Secret implements Editable, KubernetesResource +{ + + @JsonProperty("ref") + private SecretReference ref; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Secret() { + } + + public Secret(SecretReference ref) { + super(); + this.ref = ref; + } + + @JsonProperty("ref") + public SecretReference getRef() { + return ref; + } + + @JsonProperty("ref") + public void setRef(SecretReference ref) { + this.ref = ref; + } + + @JsonIgnore + public SecretBuilder edit() { + return new SecretBuilder(this); + } + + @JsonIgnore + public SecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/SecretReference.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/SecretReference.java new file mode 100644 index 0000000000..95f244f450 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/pkg/apis/common/integration/v1alpha1/SecretReference.java @@ -0,0 +1,116 @@ + +package io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class SecretReference implements Editable, KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SecretReference() { + } + + public SecretReference(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SecretReferenceBuilder edit() { + return new SecretReferenceBuilder(this); + } + + @JsonIgnore + public SecretReferenceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReply.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReply.java new file mode 100644 index 0000000000..1b40fc71ab --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReply.java @@ -0,0 +1,212 @@ + +package io.fabric8.knative.eventing.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("eventing.knative.dev") +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class RequestReply implements Editable, HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "eventing.knative.dev/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "RequestReply"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private RequestReplySpec spec; + @JsonProperty("status") + private RequestReplyStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RequestReply() { + } + + public RequestReply(String apiVersion, String kind, ObjectMeta metadata, RequestReplySpec spec, RequestReplyStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public RequestReplySpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(RequestReplySpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public RequestReplyStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(RequestReplyStatus status) { + this.status = status; + } + + @JsonIgnore + public RequestReplyBuilder edit() { + return new RequestReplyBuilder(this); + } + + @JsonIgnore + public RequestReplyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReplyList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReplyList.java new file mode 100644 index 0000000000..4f6934468d --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReplyList.java @@ -0,0 +1,203 @@ + +package io.fabric8.knative.eventing.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.KubernetesResourceList; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("eventing.knative.dev") +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class RequestReplyList implements Editable, KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "eventing.knative.dev/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "RequestReplyList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RequestReplyList() { + } + + public RequestReplyList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public RequestReplyListBuilder edit() { + return new RequestReplyListBuilder(this); + } + + @JsonIgnore + public RequestReplyListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReplySpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReplySpec.java new file mode 100644 index 0000000000..08423727fd --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReplySpec.java @@ -0,0 +1,192 @@ + +package io.fabric8.knative.eventing.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.knative.duck.v1.DeliverySpec; +import io.fabric8.knative.duck.v1.KReference; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "brokerRef", + "correlationAttribute", + "delivery", + "replyAttribute", + "secrets", + "timeout" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class RequestReplySpec implements Editable, KubernetesResource +{ + + @JsonProperty("brokerRef") + private KReference brokerRef; + @JsonProperty("correlationAttribute") + private String correlationAttribute; + @JsonProperty("delivery") + private DeliverySpec delivery; + @JsonProperty("replyAttribute") + private String replyAttribute; + @JsonProperty("secrets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List secrets = new ArrayList<>(); + @JsonProperty("timeout") + private String timeout; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RequestReplySpec() { + } + + public RequestReplySpec(KReference brokerRef, String correlationAttribute, DeliverySpec delivery, String replyAttribute, List secrets, String timeout) { + super(); + this.brokerRef = brokerRef; + this.correlationAttribute = correlationAttribute; + this.delivery = delivery; + this.replyAttribute = replyAttribute; + this.secrets = secrets; + this.timeout = timeout; + } + + @JsonProperty("brokerRef") + public KReference getBrokerRef() { + return brokerRef; + } + + @JsonProperty("brokerRef") + public void setBrokerRef(KReference brokerRef) { + this.brokerRef = brokerRef; + } + + @JsonProperty("correlationAttribute") + public String getCorrelationAttribute() { + return correlationAttribute; + } + + @JsonProperty("correlationAttribute") + public void setCorrelationAttribute(String correlationAttribute) { + this.correlationAttribute = correlationAttribute; + } + + @JsonProperty("delivery") + public DeliverySpec getDelivery() { + return delivery; + } + + @JsonProperty("delivery") + public void setDelivery(DeliverySpec delivery) { + this.delivery = delivery; + } + + @JsonProperty("replyAttribute") + public String getReplyAttribute() { + return replyAttribute; + } + + @JsonProperty("replyAttribute") + public void setReplyAttribute(String replyAttribute) { + this.replyAttribute = replyAttribute; + } + + @JsonProperty("secrets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSecrets() { + return secrets; + } + + @JsonProperty("secrets") + public void setSecrets(List secrets) { + this.secrets = secrets; + } + + @JsonProperty("timeout") + public String getTimeout() { + return timeout; + } + + @JsonProperty("timeout") + public void setTimeout(String timeout) { + this.timeout = timeout; + } + + @JsonIgnore + public RequestReplySpecBuilder edit() { + return new RequestReplySpecBuilder(this); + } + + @JsonIgnore + public RequestReplySpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReplyStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReplyStatus.java new file mode 100644 index 0000000000..b80ea7a53d --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/RequestReplyStatus.java @@ -0,0 +1,199 @@ + +package io.fabric8.knative.eventing.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.knative.duck.v1.Addressable; +import io.fabric8.knative.duck.v1.AppliedEventPolicyRef; +import io.fabric8.knative.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "address", + "addresses", + "annotations", + "conditions", + "observedGeneration", + "policies" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class RequestReplyStatus implements Editable, KubernetesResource +{ + + @JsonProperty("address") + private Addressable address; + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List addresses = new ArrayList<>(); + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotations = new LinkedHashMap<>(); + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("observedGeneration") + private Long observedGeneration; + @JsonProperty("policies") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List policies = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RequestReplyStatus() { + } + + public RequestReplyStatus(Addressable address, List addresses, Map annotations, List conditions, Long observedGeneration, List policies) { + super(); + this.address = address; + this.addresses = addresses; + this.annotations = annotations; + this.conditions = conditions; + this.observedGeneration = observedGeneration; + this.policies = policies; + } + + @JsonProperty("address") + public Addressable getAddress() { + return address; + } + + @JsonProperty("address") + public void setAddress(Addressable address) { + this.address = address; + } + + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAddresses() { + return addresses; + } + + @JsonProperty("addresses") + public void setAddresses(List addresses) { + this.addresses = addresses; + } + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAnnotations() { + return annotations; + } + + @JsonProperty("annotations") + public void setAnnotations(Map annotations) { + this.annotations = annotations; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("observedGeneration") + public Long getObservedGeneration() { + return observedGeneration; + } + + @JsonProperty("observedGeneration") + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + @JsonProperty("policies") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPolicies() { + return policies; + } + + @JsonProperty("policies") + public void setPolicies(List policies) { + this.policies = policies; + } + + @JsonIgnore + public RequestReplyStatusBuilder edit() { + return new RequestReplyStatusBuilder(this); + } + + @JsonIgnore + public RequestReplyStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/Aws.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/Aws.java new file mode 100644 index 0000000000..effd9951c0 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/Aws.java @@ -0,0 +1,162 @@ + +package io.fabric8.knative.sinks.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSS3; +import io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSSNS; +import io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSSQS; +import io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1.Auth; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "auth", + "s3", + "sns", + "sqs" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class Aws implements Editable, KubernetesResource +{ + + @JsonProperty("auth") + private Auth auth; + @JsonProperty("s3") + private AWSS3 s3; + @JsonProperty("sns") + private AWSSNS sns; + @JsonProperty("sqs") + private AWSSQS sqs; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Aws() { + } + + public Aws(Auth auth, AWSS3 s3, AWSSNS sns, AWSSQS sqs) { + super(); + this.auth = auth; + this.s3 = s3; + this.sns = sns; + this.sqs = sqs; + } + + @JsonProperty("auth") + public Auth getAuth() { + return auth; + } + + @JsonProperty("auth") + public void setAuth(Auth auth) { + this.auth = auth; + } + + @JsonProperty("s3") + public AWSS3 getS3() { + return s3; + } + + @JsonProperty("s3") + public void setS3(AWSS3 s3) { + this.s3 = s3; + } + + @JsonProperty("sns") + public AWSSNS getSns() { + return sns; + } + + @JsonProperty("sns") + public void setSns(AWSSNS sns) { + this.sns = sns; + } + + @JsonProperty("sqs") + public AWSSQS getSqs() { + return sqs; + } + + @JsonProperty("sqs") + public void setSqs(AWSSQS sqs) { + this.sqs = sqs; + } + + @JsonIgnore + public AwsBuilder edit() { + return new AwsBuilder(this); + } + + @JsonIgnore + public AwsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSink.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSink.java new file mode 100644 index 0000000000..5fdd6c1147 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSink.java @@ -0,0 +1,212 @@ + +package io.fabric8.knative.sinks.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("sinks.knative.dev") +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class IntegrationSink implements Editable, HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "sinks.knative.dev/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "IntegrationSink"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private IntegrationSinkSpec spec; + @JsonProperty("status") + private IntegrationSinkStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public IntegrationSink() { + } + + public IntegrationSink(String apiVersion, String kind, ObjectMeta metadata, IntegrationSinkSpec spec, IntegrationSinkStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public IntegrationSinkSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(IntegrationSinkSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IntegrationSinkStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IntegrationSinkStatus status) { + this.status = status; + } + + @JsonIgnore + public IntegrationSinkBuilder edit() { + return new IntegrationSinkBuilder(this); + } + + @JsonIgnore + public IntegrationSinkBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSinkList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSinkList.java new file mode 100644 index 0000000000..8e99660ead --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSinkList.java @@ -0,0 +1,203 @@ + +package io.fabric8.knative.sinks.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.KubernetesResourceList; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("sinks.knative.dev") +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class IntegrationSinkList implements Editable, KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "sinks.knative.dev/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "IntegrationSinkList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public IntegrationSinkList() { + } + + public IntegrationSinkList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public IntegrationSinkListBuilder edit() { + return new IntegrationSinkListBuilder(this); + } + + @JsonIgnore + public IntegrationSinkListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSinkSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSinkSpec.java new file mode 100644 index 0000000000..3611aec287 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSinkSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.knative.sinks.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "aws", + "log" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class IntegrationSinkSpec implements Editable, KubernetesResource +{ + + @JsonProperty("aws") + private Aws aws; + @JsonProperty("log") + private Log log; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public IntegrationSinkSpec() { + } + + public IntegrationSinkSpec(Aws aws, Log log) { + super(); + this.aws = aws; + this.log = log; + } + + @JsonProperty("aws") + public Aws getAws() { + return aws; + } + + @JsonProperty("aws") + public void setAws(Aws aws) { + this.aws = aws; + } + + @JsonProperty("log") + public Log getLog() { + return log; + } + + @JsonProperty("log") + public void setLog(Log log) { + this.log = log; + } + + @JsonIgnore + public IntegrationSinkSpecBuilder edit() { + return new IntegrationSinkSpecBuilder(this); + } + + @JsonIgnore + public IntegrationSinkSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSinkStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSinkStatus.java new file mode 100644 index 0000000000..deb3b47482 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/IntegrationSinkStatus.java @@ -0,0 +1,199 @@ + +package io.fabric8.knative.sinks.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.knative.duck.v1.Addressable; +import io.fabric8.knative.duck.v1.AppliedEventPolicyRef; +import io.fabric8.knative.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "address", + "addresses", + "annotations", + "conditions", + "observedGeneration", + "policies" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class IntegrationSinkStatus implements Editable, KubernetesResource +{ + + @JsonProperty("address") + private Addressable address; + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List addresses = new ArrayList<>(); + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotations = new LinkedHashMap<>(); + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("observedGeneration") + private Long observedGeneration; + @JsonProperty("policies") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List policies = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public IntegrationSinkStatus() { + } + + public IntegrationSinkStatus(Addressable address, List addresses, Map annotations, List conditions, Long observedGeneration, List policies) { + super(); + this.address = address; + this.addresses = addresses; + this.annotations = annotations; + this.conditions = conditions; + this.observedGeneration = observedGeneration; + this.policies = policies; + } + + @JsonProperty("address") + public Addressable getAddress() { + return address; + } + + @JsonProperty("address") + public void setAddress(Addressable address) { + this.address = address; + } + + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAddresses() { + return addresses; + } + + @JsonProperty("addresses") + public void setAddresses(List addresses) { + this.addresses = addresses; + } + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAnnotations() { + return annotations; + } + + @JsonProperty("annotations") + public void setAnnotations(Map annotations) { + this.annotations = annotations; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("observedGeneration") + public Long getObservedGeneration() { + return observedGeneration; + } + + @JsonProperty("observedGeneration") + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + @JsonProperty("policies") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPolicies() { + return policies; + } + + @JsonProperty("policies") + public void setPolicies(List policies) { + this.policies = policies; + } + + @JsonIgnore + public IntegrationSinkStatusBuilder edit() { + return new IntegrationSinkStatusBuilder(this); + } + + @JsonIgnore + public IntegrationSinkStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/Log.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/Log.java new file mode 100644 index 0000000000..8259fb0959 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sinks/v1alpha1/Log.java @@ -0,0 +1,284 @@ + +package io.fabric8.knative.sinks.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "logMask", + "loggerName", + "marker", + "multiline", + "showAllProperties", + "showBody", + "showBodyType", + "showCachedStreams", + "showExchangePattern", + "showHeaders", + "showProperties", + "showStreams" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class Log implements Editable, KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("logMask") + private Boolean logMask; + @JsonProperty("loggerName") + private String loggerName; + @JsonProperty("marker") + private String marker; + @JsonProperty("multiline") + private Boolean multiline; + @JsonProperty("showAllProperties") + private Boolean showAllProperties; + @JsonProperty("showBody") + private Boolean showBody; + @JsonProperty("showBodyType") + private Boolean showBodyType; + @JsonProperty("showCachedStreams") + private Boolean showCachedStreams; + @JsonProperty("showExchangePattern") + private Boolean showExchangePattern; + @JsonProperty("showHeaders") + private Boolean showHeaders; + @JsonProperty("showProperties") + private Boolean showProperties; + @JsonProperty("showStreams") + private Boolean showStreams; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Log() { + } + + public Log(String level, Boolean logMask, String loggerName, String marker, Boolean multiline, Boolean showAllProperties, Boolean showBody, Boolean showBodyType, Boolean showCachedStreams, Boolean showExchangePattern, Boolean showHeaders, Boolean showProperties, Boolean showStreams) { + super(); + this.level = level; + this.logMask = logMask; + this.loggerName = loggerName; + this.marker = marker; + this.multiline = multiline; + this.showAllProperties = showAllProperties; + this.showBody = showBody; + this.showBodyType = showBodyType; + this.showCachedStreams = showCachedStreams; + this.showExchangePattern = showExchangePattern; + this.showHeaders = showHeaders; + this.showProperties = showProperties; + this.showStreams = showStreams; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("logMask") + public Boolean getLogMask() { + return logMask; + } + + @JsonProperty("logMask") + public void setLogMask(Boolean logMask) { + this.logMask = logMask; + } + + @JsonProperty("loggerName") + public String getLoggerName() { + return loggerName; + } + + @JsonProperty("loggerName") + public void setLoggerName(String loggerName) { + this.loggerName = loggerName; + } + + @JsonProperty("marker") + public String getMarker() { + return marker; + } + + @JsonProperty("marker") + public void setMarker(String marker) { + this.marker = marker; + } + + @JsonProperty("multiline") + public Boolean getMultiline() { + return multiline; + } + + @JsonProperty("multiline") + public void setMultiline(Boolean multiline) { + this.multiline = multiline; + } + + @JsonProperty("showAllProperties") + public Boolean getShowAllProperties() { + return showAllProperties; + } + + @JsonProperty("showAllProperties") + public void setShowAllProperties(Boolean showAllProperties) { + this.showAllProperties = showAllProperties; + } + + @JsonProperty("showBody") + public Boolean getShowBody() { + return showBody; + } + + @JsonProperty("showBody") + public void setShowBody(Boolean showBody) { + this.showBody = showBody; + } + + @JsonProperty("showBodyType") + public Boolean getShowBodyType() { + return showBodyType; + } + + @JsonProperty("showBodyType") + public void setShowBodyType(Boolean showBodyType) { + this.showBodyType = showBodyType; + } + + @JsonProperty("showCachedStreams") + public Boolean getShowCachedStreams() { + return showCachedStreams; + } + + @JsonProperty("showCachedStreams") + public void setShowCachedStreams(Boolean showCachedStreams) { + this.showCachedStreams = showCachedStreams; + } + + @JsonProperty("showExchangePattern") + public Boolean getShowExchangePattern() { + return showExchangePattern; + } + + @JsonProperty("showExchangePattern") + public void setShowExchangePattern(Boolean showExchangePattern) { + this.showExchangePattern = showExchangePattern; + } + + @JsonProperty("showHeaders") + public Boolean getShowHeaders() { + return showHeaders; + } + + @JsonProperty("showHeaders") + public void setShowHeaders(Boolean showHeaders) { + this.showHeaders = showHeaders; + } + + @JsonProperty("showProperties") + public Boolean getShowProperties() { + return showProperties; + } + + @JsonProperty("showProperties") + public void setShowProperties(Boolean showProperties) { + this.showProperties = showProperties; + } + + @JsonProperty("showStreams") + public Boolean getShowStreams() { + return showStreams; + } + + @JsonProperty("showStreams") + public void setShowStreams(Boolean showStreams) { + this.showStreams = showStreams; + } + + @JsonIgnore + public LogBuilder edit() { + return new LogBuilder(this); + } + + @JsonIgnore + public LogBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/Aws.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/Aws.java new file mode 100644 index 0000000000..8929da833a --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/Aws.java @@ -0,0 +1,162 @@ + +package io.fabric8.knative.sources.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSDDBStreams; +import io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSS3; +import io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSSQS; +import io.fabric8.knative.eventing.pkg.apis.common.integration.v1alpha1.Auth; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "auth", + "ddbStreams", + "s3", + "sqs" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class Aws implements Editable, KubernetesResource +{ + + @JsonProperty("auth") + private Auth auth; + @JsonProperty("ddbStreams") + private AWSDDBStreams ddbStreams; + @JsonProperty("s3") + private AWSS3 s3; + @JsonProperty("sqs") + private AWSSQS sqs; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Aws() { + } + + public Aws(Auth auth, AWSDDBStreams ddbStreams, AWSS3 s3, AWSSQS sqs) { + super(); + this.auth = auth; + this.ddbStreams = ddbStreams; + this.s3 = s3; + this.sqs = sqs; + } + + @JsonProperty("auth") + public Auth getAuth() { + return auth; + } + + @JsonProperty("auth") + public void setAuth(Auth auth) { + this.auth = auth; + } + + @JsonProperty("ddbStreams") + public AWSDDBStreams getDdbStreams() { + return ddbStreams; + } + + @JsonProperty("ddbStreams") + public void setDdbStreams(AWSDDBStreams ddbStreams) { + this.ddbStreams = ddbStreams; + } + + @JsonProperty("s3") + public AWSS3 getS3() { + return s3; + } + + @JsonProperty("s3") + public void setS3(AWSS3 s3) { + this.s3 = s3; + } + + @JsonProperty("sqs") + public AWSSQS getSqs() { + return sqs; + } + + @JsonProperty("sqs") + public void setSqs(AWSSQS sqs) { + this.sqs = sqs; + } + + @JsonIgnore + public AwsBuilder edit() { + return new AwsBuilder(this); + } + + @JsonIgnore + public AwsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSource.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSource.java new file mode 100644 index 0000000000..adcc2f4bd3 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSource.java @@ -0,0 +1,212 @@ + +package io.fabric8.knative.sources.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("sources.knative.dev") +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class IntegrationSource implements Editable, HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "sources.knative.dev/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "IntegrationSource"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private IntegrationSourceSpec spec; + @JsonProperty("status") + private IntegrationSourceStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public IntegrationSource() { + } + + public IntegrationSource(String apiVersion, String kind, ObjectMeta metadata, IntegrationSourceSpec spec, IntegrationSourceStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public IntegrationSourceSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(IntegrationSourceSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IntegrationSourceStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IntegrationSourceStatus status) { + this.status = status; + } + + @JsonIgnore + public IntegrationSourceBuilder edit() { + return new IntegrationSourceBuilder(this); + } + + @JsonIgnore + public IntegrationSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSourceList.java new file mode 100644 index 0000000000..c9f0a9d3a1 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSourceList.java @@ -0,0 +1,203 @@ + +package io.fabric8.knative.sources.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.KubernetesResourceList; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("sources.knative.dev") +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class IntegrationSourceList implements Editable, KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "sources.knative.dev/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "IntegrationSourceList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public IntegrationSourceList() { + } + + public IntegrationSourceList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public IntegrationSourceListBuilder edit() { + return new IntegrationSourceListBuilder(this); + } + + @JsonIgnore + public IntegrationSourceListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSourceSpec.java new file mode 100644 index 0000000000..0139202937 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSourceSpec.java @@ -0,0 +1,160 @@ + +package io.fabric8.knative.sources.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.knative.duck.v1.CloudEventOverrides; +import io.fabric8.knative.duck.v1.Destination; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "aws", + "ceOverrides", + "sink", + "timer" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class IntegrationSourceSpec implements Editable, KubernetesResource +{ + + @JsonProperty("aws") + private Aws aws; + @JsonProperty("ceOverrides") + private CloudEventOverrides ceOverrides; + @JsonProperty("sink") + private Destination sink; + @JsonProperty("timer") + private Timer timer; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public IntegrationSourceSpec() { + } + + public IntegrationSourceSpec(Aws aws, CloudEventOverrides ceOverrides, Destination sink, Timer timer) { + super(); + this.aws = aws; + this.ceOverrides = ceOverrides; + this.sink = sink; + this.timer = timer; + } + + @JsonProperty("aws") + public Aws getAws() { + return aws; + } + + @JsonProperty("aws") + public void setAws(Aws aws) { + this.aws = aws; + } + + @JsonProperty("ceOverrides") + public CloudEventOverrides getCeOverrides() { + return ceOverrides; + } + + @JsonProperty("ceOverrides") + public void setCeOverrides(CloudEventOverrides ceOverrides) { + this.ceOverrides = ceOverrides; + } + + @JsonProperty("sink") + public Destination getSink() { + return sink; + } + + @JsonProperty("sink") + public void setSink(Destination sink) { + this.sink = sink; + } + + @JsonProperty("timer") + public Timer getTimer() { + return timer; + } + + @JsonProperty("timer") + public void setTimer(Timer timer) { + this.timer = timer; + } + + @JsonIgnore + public IntegrationSourceSpecBuilder edit() { + return new IntegrationSourceSpecBuilder(this); + } + + @JsonIgnore + public IntegrationSourceSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSourceStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSourceStatus.java new file mode 100644 index 0000000000..c47b7ee082 --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/IntegrationSourceStatus.java @@ -0,0 +1,225 @@ + +package io.fabric8.knative.sources.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.knative.duck.v1.AuthStatus; +import io.fabric8.knative.duck.v1.CloudEventAttributes; +import io.fabric8.knative.pkg.apis.Condition; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "annotations", + "auth", + "ceAttributes", + "conditions", + "observedGeneration", + "sinkAudience", + "sinkCACerts", + "sinkUri" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class IntegrationSourceStatus implements Editable, KubernetesResource +{ + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotations = new LinkedHashMap<>(); + @JsonProperty("auth") + private AuthStatus auth; + @JsonProperty("ceAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ceAttributes = new ArrayList<>(); + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("observedGeneration") + private Long observedGeneration; + @JsonProperty("sinkAudience") + private String sinkAudience; + @JsonProperty("sinkCACerts") + private String sinkCACerts; + @JsonProperty("sinkUri") + private String sinkUri; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public IntegrationSourceStatus() { + } + + public IntegrationSourceStatus(Map annotations, AuthStatus auth, List ceAttributes, List conditions, Long observedGeneration, String sinkAudience, String sinkCACerts, String sinkUri) { + super(); + this.annotations = annotations; + this.auth = auth; + this.ceAttributes = ceAttributes; + this.conditions = conditions; + this.observedGeneration = observedGeneration; + this.sinkAudience = sinkAudience; + this.sinkCACerts = sinkCACerts; + this.sinkUri = sinkUri; + } + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAnnotations() { + return annotations; + } + + @JsonProperty("annotations") + public void setAnnotations(Map annotations) { + this.annotations = annotations; + } + + @JsonProperty("auth") + public AuthStatus getAuth() { + return auth; + } + + @JsonProperty("auth") + public void setAuth(AuthStatus auth) { + this.auth = auth; + } + + @JsonProperty("ceAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCeAttributes() { + return ceAttributes; + } + + @JsonProperty("ceAttributes") + public void setCeAttributes(List ceAttributes) { + this.ceAttributes = ceAttributes; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("observedGeneration") + public Long getObservedGeneration() { + return observedGeneration; + } + + @JsonProperty("observedGeneration") + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + @JsonProperty("sinkAudience") + public String getSinkAudience() { + return sinkAudience; + } + + @JsonProperty("sinkAudience") + public void setSinkAudience(String sinkAudience) { + this.sinkAudience = sinkAudience; + } + + @JsonProperty("sinkCACerts") + public String getSinkCACerts() { + return sinkCACerts; + } + + @JsonProperty("sinkCACerts") + public void setSinkCACerts(String sinkCACerts) { + this.sinkCACerts = sinkCACerts; + } + + @JsonProperty("sinkUri") + public String getSinkUri() { + return sinkUri; + } + + @JsonProperty("sinkUri") + public void setSinkUri(String sinkUri) { + this.sinkUri = sinkUri; + } + + @JsonIgnore + public IntegrationSourceStatusBuilder edit() { + return new IntegrationSourceStatusBuilder(this); + } + + @JsonIgnore + public IntegrationSourceStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/Timer.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/Timer.java new file mode 100644 index 0000000000..168565807c --- /dev/null +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1alpha1/Timer.java @@ -0,0 +1,158 @@ + +package io.fabric8.knative.sources.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +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.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "contentType", + "message", + "period", + "repeatCount" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") +public class Timer implements Editable, KubernetesResource +{ + + @JsonProperty("contentType") + private String contentType; + @JsonProperty("message") + private String message; + @JsonProperty("period") + private Integer period; + @JsonProperty("repeatCount") + private Integer repeatCount; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Timer() { + } + + public Timer(String contentType, String message, Integer period, Integer repeatCount) { + super(); + this.contentType = contentType; + this.message = message; + this.period = period; + this.repeatCount = repeatCount; + } + + @JsonProperty("contentType") + public String getContentType() { + return contentType; + } + + @JsonProperty("contentType") + public void setContentType(String contentType) { + this.contentType = contentType; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonProperty("period") + public Integer getPeriod() { + return period; + } + + @JsonProperty("period") + public void setPeriod(Integer period) { + this.period = period; + } + + @JsonProperty("repeatCount") + public Integer getRepeatCount() { + return repeatCount; + } + + @JsonProperty("repeatCount") + public void setRepeatCount(Integer repeatCount) { + this.repeatCount = repeatCount; + } + + @JsonIgnore + public TimerBuilder edit() { + return new TimerBuilder(this); + } + + @JsonIgnore + public TimerBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openapi/generator/go.mod b/kubernetes-model-generator/openapi/generator/go.mod index 2fd05829e2..9a0f4bca5a 100644 --- a/kubernetes-model-generator/openapi/generator/go.mod +++ b/kubernetes-model-generator/openapi/generator/go.mod @@ -41,7 +41,7 @@ require ( k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 k8s.io/metrics v0.32.1 knative.dev/caching v0.0.0-20241022012359-41bbaf964d16 - knative.dev/eventing v0.43.3 + knative.dev/eventing v0.44.0 knative.dev/eventing-awssqs v0.29.0 knative.dev/eventing-couchdb v0.28.0 knative.dev/eventing-github v0.43.0 @@ -211,17 +211,17 @@ require ( golang.org/x/tools v0.29.0 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect google.golang.org/api v0.198.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect - google.golang.org/grpc v1.67.1 // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 // indirect + google.golang.org/grpc v1.69.2 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect istio.io/api v1.24.2-0.20241206152109-43afb8563706 // indirect k8s.io/klog/v2 v2.130.1 // indirect k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect - knative.dev/pkg v0.0.0-20241021183759-9b9d535af5ad // indirect + knative.dev/pkg v0.0.0-20250117084104-c43477f0052b // indirect sigs.k8s.io/controller-runtime v0.19.4 // indirect sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect sigs.k8s.io/kustomize/kyaml v0.19.0 // indirect diff --git a/kubernetes-model-generator/openapi/generator/go.sum b/kubernetes-model-generator/openapi/generator/go.sum index 6fcd326bce..8eb5842619 100644 --- a/kubernetes-model-generator/openapi/generator/go.sum +++ b/kubernetes-model-generator/openapi/generator/go.sum @@ -1206,8 +1206,8 @@ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 h1:TT4fX+n go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0/go.mod h1:L7UH0GbB0p47T4Rri3uHjbpCFYrVrwc1I25QhNPiGK8= go.opentelemetry.io/otel v0.16.0/go.mod h1:e4GKElweB8W2gWUqbghw0B8t5MCTccc9212eNHnOHwA= go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= -go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw= -go.opentelemetry.io/otel v1.29.0/go.mod h1:N/WtXPs1CNCUEx+Agz5uouwCba+i+bJGFicT8SR4NP8= +go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY= +go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= go.opentelemetry.io/otel/exporters/otlp v0.20.0 h1:PTNgq9MRmQqqJY0REVbZFvwkYOA85vbdQU/nVfxDyqg= go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.44.0 h1:jd0+5t/YynESZqsSyPz+7PAFdEop0dlN0+PkyHYo8oI= @@ -1227,19 +1227,19 @@ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.44.0/go.mod h1:sTt30Ev go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.21.0 h1:VhlEQAPp9R1ktYfrPk5SOryw1e9LDDTZCbIPFrho0ec= go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.21.0/go.mod h1:kB3ufRbfU+CQ4MlUcqtW8Z7YEOBeK2DJ6CmR5rYYF3E= go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= -go.opentelemetry.io/otel/metric v1.29.0 h1:vPf/HFWTNkPu1aYeIsc98l4ktOQaL6LeSoeV2g+8YLc= -go.opentelemetry.io/otel/metric v1.29.0/go.mod h1:auu/QWieFVWx+DmQOUMgj0F8LHWdgalxXqvp7BII/W8= +go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE= +go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY= go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= -go.opentelemetry.io/otel/sdk v1.28.0 h1:b9d7hIry8yZsgtbmM0DKyPWMMUMlK9NEKuIG4aBqWyE= -go.opentelemetry.io/otel/sdk v1.28.0/go.mod h1:oYj7ClPUA7Iw3m+r7GeEjz0qckQRJK2B8zjcZEfu7Pg= +go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk= +go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0= go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= -go.opentelemetry.io/otel/sdk/metric v1.28.0 h1:OkuaKgKrgAbYrrY0t92c+cC+2F6hsFNnCQArXCKlg08= -go.opentelemetry.io/otel/sdk/metric v1.28.0/go.mod h1:cWPjykihLAPvXKi4iZc1dpER3Jdq2Z0YLse3moQUCpg= +go.opentelemetry.io/otel/sdk/metric v1.31.0 h1:i9hxxLJF/9kkvfHppyLL55aW7iIJz4JjxTeYusH7zMc= +go.opentelemetry.io/otel/sdk/metric v1.31.0/go.mod h1:CRInTMVvNhUKgSAMbKyTMxqOBC0zgyxzW55lZzX43Y8= go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= -go.opentelemetry.io/otel/trace v1.29.0 h1:J/8ZNK4XgR7a21DZUAsbF8pZ5Jcw1VhACmnYt39JTi4= -go.opentelemetry.io/otel/trace v1.29.0/go.mod h1:eHl3w0sp3paPkYstJOmAimxhiFXPg+MMTlEh3nsQgWQ= +go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys= +go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0= go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8= @@ -1860,10 +1860,10 @@ google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ6 google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1 h1:BulPr26Jqjnd4eYDVe+YvyR7Yc2vJGkO5/0UxD0/jZU= google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:hL97c3SYopEHblzpxRL4lSs523++l8DYxGM1FQiYmb4= -google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed h1:3RgNmBoI9MZhsj3QxC+AP/qQhNwpCLOvYDYYsFrhFt0= -google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed/go.mod h1:OCdP9MfskevB/rbYvHTsXTtKC+3bHWajPdoKgjcYkfo= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 h1:pPJltXNxVzT4pK9yD8vR9X75DaWYYmLGMsEvBfFQZzQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= +google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 h1:fVoAXEKA4+yufmbdVYv+SE73+cPZbbbe8paLsHfkK+U= +google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53/go.mod h1:riSXTwQ4+nqmPGtobMFyW5FqVAmIs0St6VPp4Ug7CE4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 h1:X58yt85/IXCx0Y3ZwN6sEIKZzQtDEYaBWrDvErdXrRE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -1893,8 +1893,8 @@ google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9K google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= -google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= +google.golang.org/grpc v1.69.2 h1:U3S9QEtbXC0bYNvRtcoklF3xGtLViumSYxWykJS+7AU= +google.golang.org/grpc v1.69.2/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1913,8 +1913,8 @@ google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -2035,8 +2035,8 @@ knative.dev/caching v0.0.0-20241022012359-41bbaf964d16 h1:vQ0y0mO1ALdOd/FPiw7gf1 knative.dev/caching v0.0.0-20241022012359-41bbaf964d16/go.mod h1:qOvjasSUI+GyF4hsqJmIomblcgjkLzJhng8/zk0B9J4= knative.dev/eventing v0.28.0/go.mod h1:zxoB37kQxEkfCvKA7wZuHOPYInz6SFJzrhmG9IAd/iY= knative.dev/eventing v0.29.0/go.mod h1:u5T5NZTDUsLR7yJwp5MDnBnDX5MhywD3yK3Rq+7gTtI= -knative.dev/eventing v0.43.3 h1:xt10rMoe6t1hFPPrnsR5NYe/vWRXQqLgRK8lS6n5mU8= -knative.dev/eventing v0.43.3/go.mod h1:pdrF+bEUfRkNn9ifWXS7DoVj5W31gA5KQVd8iwplXUo= +knative.dev/eventing v0.44.0 h1:AGH9wp6Vp0LNRXWnJ4oIVURUNOBsq5/xNm95ZsxZBFs= +knative.dev/eventing v0.44.0/go.mod h1:0H5SItbyPWJLXoGXwBxX7yqvg6t2enQsQbLKyzWoezQ= knative.dev/eventing-awssqs v0.29.0 h1:3g9zaBMuSVpwj6BOFFQl/XbCVX9dIljqhoWKdLfDVp4= knative.dev/eventing-awssqs v0.29.0/go.mod h1:jtY5Pd4QrwbLyiviNWav7FMtx9NWaABY3EqGGz3NBNA= knative.dev/eventing-couchdb v0.28.0 h1:wdwmonQ1cOEx/I9Ev8IhKUIkBth4L/r5wTpDggGacls= @@ -2058,8 +2058,8 @@ knative.dev/networking v0.0.0-20241022012959-60e29ff520dc h1:0d9XXRLlyuHfINZLlYq knative.dev/networking v0.0.0-20241022012959-60e29ff520dc/go.mod h1:G56j6VCLzfaN9yZ4IqfNyN4c3U1czvhUmKeZX4UjQ8Q= knative.dev/pkg v0.0.0-20211206113427-18589ac7627e/go.mod h1:E6B4RTjZyxe55a0kxOlnEHEl71zuG7gghnqYvNBKwBw= knative.dev/pkg v0.0.0-20220118160532-77555ea48cd4/go.mod h1:etVT7Tm8pSDf4RKhGk4r7j/hj3dNBpvT7bO6a6wpahs= -knative.dev/pkg v0.0.0-20241021183759-9b9d535af5ad h1:Nrjtr2H168rJeamH4QdyLMV1lEKHejNhaj1ymgQMfLk= -knative.dev/pkg v0.0.0-20241021183759-9b9d535af5ad/go.mod h1:StJI72GWcm/iErmk4RqFJiOo8RLbVqPbHxUqeVwAzeo= +knative.dev/pkg v0.0.0-20250117084104-c43477f0052b h1:a+gP7Yzu5NmoX2w1p8nfTgmSKF+aHLKGzqYT82ijJTw= +knative.dev/pkg v0.0.0-20250117084104-c43477f0052b/go.mod h1:bedSpkdLybR6JhL1J7XDLpd+JMKM/x8M5Apr80i5TeE= knative.dev/reconciler-test v0.0.0-20211207070557-0d138a88867b/go.mod h1:dCq1Fuu+eUISdnxABMvoDhefF91DYwE6O3rTYTraXbw= knative.dev/reconciler-test v0.0.0-20220118183433-c8bfbe66bada/go.mod h1:XV4cghzCtdASkfUsfMYSnGfGRyd/naDjy9h7Tnae22g= knative.dev/serving v0.43.1 h1:CAD1wtW6rlv8echp2BNGQUsxVKtFv69RWCy/m+dT0x0= diff --git a/kubernetes-model-generator/openapi/schemas/dev.knative.json b/kubernetes-model-generator/openapi/schemas/dev.knative.json index 9bf45e252f..9e387c9b4d 100644 --- a/kubernetes-model-generator/openapi/schemas/dev.knative.json +++ b/kubernetes-model-generator/openapi/schemas/dev.knative.json @@ -3709,6 +3709,355 @@ "Scope": "Namespaced" } }, + "dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSCommon": { + "type": "object", + "required": [ + "overrideEndpoint" + ], + "properties": { + "overrideEndpoint": { + "description": "Override endpoint URI", + "type": "boolean", + "default": false + }, + "region": { + "description": "Auth is the S3 authentication (accessKey/secretKey) configuration.", + "type": "string" + }, + "uriEndpointOverride": { + "description": "AWS region", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AWSCommon", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSDDBStreams": { + "type": "object", + "required": [ + "overrideEndpoint" + ], + "properties": { + "delay": { + "description": "Defines where in the DynamoDB stream to start getting records", + "type": "integer", + "format": "int32" + }, + "overrideEndpoint": { + "description": "Override endpoint URI", + "type": "boolean", + "default": false + }, + "region": { + "description": "Auth is the S3 authentication (accessKey/secretKey) configuration.", + "type": "string" + }, + "streamIteratorType": { + "description": "The name of the DynamoDB table", + "type": "string" + }, + "table": { + "description": "Embeds AWSCommon to inherit its fields in JSON", + "type": "string" + }, + "uriEndpointOverride": { + "description": "AWS region", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AWSDDBStreams", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSS3": { + "type": "object", + "required": [ + "overrideEndpoint", + "deleteAfterRead", + "moveAfterRead", + "autoCreateBucket", + "ignoreBody", + "forcePathStyle", + "delay", + "maxMessagesPerPoll" + ], + "properties": { + "arn": { + "description": "Embeds AWSCommon to inherit its fields in JSON", + "type": "string" + }, + "autoCreateBucket": { + "description": "Suffix for moved objects", + "type": "boolean", + "default": false + }, + "delay": { + "description": "Force path style for bucket access", + "type": "integer", + "format": "int32", + "default": 0 + }, + "deleteAfterRead": { + "description": "S3 ARN", + "type": "boolean", + "default": false + }, + "destinationBucket": { + "description": "Move objects after reading", + "type": "string" + }, + "destinationBucketPrefix": { + "description": "Destination bucket for moved objects", + "type": "string" + }, + "destinationBucketSuffix": { + "description": "Prefix for moved objects", + "type": "string" + }, + "forcePathStyle": { + "description": "Ignore object body", + "type": "boolean", + "default": false + }, + "ignoreBody": { + "description": "S3 bucket prefix for search", + "type": "boolean", + "default": false + }, + "maxMessagesPerPoll": { + "description": "Delay between polls in milliseconds", + "type": "integer", + "format": "int32", + "default": 0 + }, + "moveAfterRead": { + "description": "Auto-delete objects after reading", + "type": "boolean", + "default": false + }, + "overrideEndpoint": { + "description": "Override endpoint URI", + "type": "boolean", + "default": false + }, + "prefix": { + "description": "Auto-create S3 bucket", + "type": "string" + }, + "region": { + "description": "Auth is the S3 authentication (accessKey/secretKey) configuration.", + "type": "string" + }, + "uriEndpointOverride": { + "description": "AWS region", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AWSS3", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSSNS": { + "type": "object", + "required": [ + "overrideEndpoint", + "autoCreateTopic" + ], + "properties": { + "arn": { + "description": "Embeds AWSCommon to inherit its fields in JSON", + "type": "string" + }, + "autoCreateTopic": { + "description": "SNS ARN", + "type": "boolean", + "default": false + }, + "overrideEndpoint": { + "description": "Override endpoint URI", + "type": "boolean", + "default": false + }, + "region": { + "description": "Auth is the S3 authentication (accessKey/secretKey) configuration.", + "type": "string" + }, + "uriEndpointOverride": { + "description": "AWS region", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AWSSNS", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSSQS": { + "type": "object", + "required": [ + "overrideEndpoint", + "deleteAfterRead", + "autoCreateQueue", + "host", + "protocol", + "greedy", + "delay", + "maxMessagesPerPoll" + ], + "properties": { + "arn": { + "description": "Embeds AWSCommon to inherit its fields in JSON", + "type": "string" + }, + "autoCreateQueue": { + "description": "Auto-delete messages after reading", + "type": "boolean", + "default": false + }, + "delay": { + "description": "Greedy scheduler", + "type": "integer", + "format": "int32", + "default": 0 + }, + "deleteAfterRead": { + "description": "SQS ARN", + "type": "boolean", + "default": false + }, + "greedy": { + "description": "Full SQS queue URL", + "type": "boolean", + "default": false + }, + "host": { + "description": "Auto-create SQS queue", + "type": "string", + "default": "" + }, + "maxMessagesPerPoll": { + "description": "Delay between polls in milliseconds", + "type": "integer", + "format": "int32", + "default": 0 + }, + "overrideEndpoint": { + "description": "Override endpoint URI", + "type": "boolean", + "default": false + }, + "protocol": { + "description": "AWS host", + "type": "string", + "default": "" + }, + "queueURL": { + "description": "Communication protocol (http/https)", + "type": "string" + }, + "region": { + "description": "Auth is the S3 authentication (accessKey/secretKey) configuration.", + "type": "string" + }, + "uriEndpointOverride": { + "description": "AWS region", + "type": "string" + }, + "visibilityTimeout": { + "description": "Wait time for messages", + "type": "integer", + "format": "int32" + }, + "waitTimeSeconds": { + "description": "Max messages to return (1-10)", + "type": "integer", + "format": "int32" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AWSSQS", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.pkg.apis.common.integration.v1alpha1.Auth": { + "type": "object", + "properties": { + "accessKey": { + "description": "AccessKey is the AWS access key ID.", + "type": "string" + }, + "secret": { + "description": "Auth Secret", + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.Secret" + }, + "secretKey": { + "description": "SecretKey is the AWS secret access key.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Auth", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.pkg.apis.common.integration.v1alpha1.Secret": { + "type": "object", + "properties": { + "ref": { + "description": "Secret reference for SASL and SSL configurations.", + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.SecretReference" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Secret", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.pkg.apis.common.integration.v1alpha1.SecretReference": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Secret name.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "SecretReference", + "Scope": "Namespaced" + } + }, "dev.knative.eventing.v1.Broker": { "description": "Broker collects a pool of events that are consumable using Triggers. Brokers provide a well-known endpoint for event delivery that senders can use with minimal knowledge of the event routing strategy. Subscribers use Triggers to request delivery of events from a Broker's pool to a specific URL or Addressable endpoint.", "type": "object", @@ -4414,27 +4763,197 @@ "description": "API version of the referent.", "type": "string" }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string", - "default": "" + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string", + "default": "" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "eventing.knative.dev", + "Version": "v1alpha1", + "Kind": "EventPolicyToReference", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.v1alpha1.KafkaSink": { + "description": "KafkaSink is an addressable resource that represent a Kafka topic.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired state of the Kafka Sink.", + "default": {}, + "$ref": "#/definitions/dev.knative.eventing.v1alpha1.KafkaSinkSpec" + }, + "status": { + "description": "Status represents the current state of the KafkaSink. This data may be out of date.", + "default": {}, + "$ref": "#/definitions/dev.knative.eventing.v1alpha1.KafkaSinkStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "eventing.knative.dev", + "Version": "v1alpha1", + "Kind": "KafkaSink", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.v1alpha1.KafkaSinkList": { + "description": "KafkaSinkList defines a list of Kafka Sink.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.eventing.v1alpha1.KafkaSink" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "eventing.knative.dev", + "Version": "v1alpha1", + "Kind": "KafkaSinkList", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.v1alpha1.KafkaSinkSpec": { + "description": "KafkaSinkSpec defines the desired state of the Kafka Sink.", + "type": "object", + "required": [ + "topic", + "bootstrapServers" + ], + "properties": { + "auth": { + "description": "Auth configurations.", + "$ref": "#/definitions/dev.knative.eventing.v1alpha1.Auth" + }, + "bootstrapServers": { + "description": "Kafka Broker bootstrap servers.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "contentMode": { + "description": "CloudEvent content mode of Kafka messages sent to the topic. Possible values: - structured - binary\n\n- default: binary.\n\n- https://github.com/cloudevents/spec/blob/v1.0/spec.md#message\n\t - https://github.com/cloudevents/spec/blob/v1.0/kafka-protocol-binding.md#32-binary-content-mode'\n\t - https://github.com/cloudevents/spec/blob/v1.0/kafka-protocol-binding.md#33-structured-content-mode", + "type": "string" + }, + "numPartitions": { + "description": "Number of topic partitions.", + "type": "integer", + "format": "int32" + }, + "replicationFactor": { + "description": "Topic replication factor", + "type": "integer", + "format": "int32" + }, + "topic": { + "description": "Topic name to send events.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "eventing.knative.dev", + "Version": "v1alpha1", + "Kind": "KafkaSinkSpec", + "Scope": "Namespaced" + } + }, + "dev.knative.eventing.v1alpha1.KafkaSinkStatus": { + "description": "KafkaSinkStatus represents the current state of the KafkaSink.", + "type": "object", + "required": [ + "AddressStatus" + ], + "properties": { + "AddressStatus": { + "description": "Kafka Sink is Addressable.", + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.AddressStatus" + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string", - "default": "" + "policies": { + "description": "Policies holds the list of applied EventPolicies", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.AppliedEventPolicyRef" + } } }, "x-fabric8-info": { "Type": "nested", "Group": "eventing.knative.dev", "Version": "v1alpha1", - "Kind": "EventPolicyToReference", + "Kind": "KafkaSinkStatus", "Scope": "Namespaced" } }, - "dev.knative.eventing.v1alpha1.KafkaSink": { - "description": "KafkaSink is an addressable resource that represent a Kafka topic.", + "dev.knative.eventing.v1alpha1.RequestReply": { + "description": "RequestRepluy represents synchronous interface to sending and receiving events from a Broker.", "type": "object", "properties": { "apiVersion": { @@ -4450,26 +4969,26 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, "spec": { - "description": "Spec defines the desired state of the Kafka Sink.", + "description": "Spec defines the desired state of the EventPolicy.", "default": {}, - "$ref": "#/definitions/dev.knative.eventing.v1alpha1.KafkaSinkSpec" + "$ref": "#/definitions/dev.knative.eventing.v1alpha1.RequestReplySpec" }, "status": { - "description": "Status represents the current state of the KafkaSink. This data may be out of date.", + "description": "Status represents the current state of the EventPolicy. This data may be out of date.", "default": {}, - "$ref": "#/definitions/dev.knative.eventing.v1alpha1.KafkaSinkStatus" + "$ref": "#/definitions/dev.knative.eventing.v1alpha1.RequestReplyStatus" } }, "x-fabric8-info": { "Type": "object", "Group": "eventing.knative.dev", "Version": "v1alpha1", - "Kind": "KafkaSink", + "Kind": "RequestReply", "Scope": "Namespaced" } }, - "dev.knative.eventing.v1alpha1.KafkaSinkList": { - "description": "KafkaSinkList defines a list of Kafka Sink.", + "dev.knative.eventing.v1alpha1.RequestReplyList": { + "description": "RequestReplyList is a collection of RequestReplies.", "type": "object", "required": [ "items" @@ -4483,7 +5002,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/dev.knative.eventing.v1alpha1.KafkaSink" + "$ref": "#/definitions/dev.knative.eventing.v1alpha1.RequestReply" } }, "kind": { @@ -4499,69 +5018,69 @@ "Type": "list", "Group": "eventing.knative.dev", "Version": "v1alpha1", - "Kind": "KafkaSinkList", + "Kind": "RequestReplyList", "Scope": "Namespaced" } }, - "dev.knative.eventing.v1alpha1.KafkaSinkSpec": { - "description": "KafkaSinkSpec defines the desired state of the Kafka Sink.", + "dev.knative.eventing.v1alpha1.RequestReplySpec": { "type": "object", "required": [ - "topic", - "bootstrapServers" + "brokerRef", + "correlationAttribute", + "replyAttribute", + "secrets" ], "properties": { - "auth": { - "description": "Auth configurations.", - "$ref": "#/definitions/dev.knative.eventing.v1alpha1.Auth" + "brokerRef": { + "description": "BrokerRef contains the reference to the broker the RequestReply sends events to.", + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.KReference" }, - "bootstrapServers": { - "description": "Kafka Broker bootstrap servers.", + "correlationAttribute": { + "type": "string", + "default": "" + }, + "delivery": { + "$ref": "#/definitions/dev.knative.duck.v1.DeliverySpec" + }, + "replyAttribute": { + "type": "string", + "default": "" + }, + "secrets": { "type": "array", "items": { "type": "string", "default": "" } }, - "contentMode": { - "description": "CloudEvent content mode of Kafka messages sent to the topic. Possible values: - structured - binary\n\n- default: binary.\n\n- https://github.com/cloudevents/spec/blob/v1.0/spec.md#message\n\t - https://github.com/cloudevents/spec/blob/v1.0/kafka-protocol-binding.md#32-binary-content-mode'\n\t - https://github.com/cloudevents/spec/blob/v1.0/kafka-protocol-binding.md#33-structured-content-mode", + "timeout": { "type": "string" - }, - "numPartitions": { - "description": "Number of topic partitions.", - "type": "integer", - "format": "int32" - }, - "replicationFactor": { - "description": "Topic replication factor", - "type": "integer", - "format": "int32" - }, - "topic": { - "description": "Topic name to send events.", - "type": "string", - "default": "" } }, "x-fabric8-info": { "Type": "nested", "Group": "eventing.knative.dev", "Version": "v1alpha1", - "Kind": "KafkaSinkSpec", + "Kind": "RequestReplySpec", "Scope": "Namespaced" } }, - "dev.knative.eventing.v1alpha1.KafkaSinkStatus": { - "description": "KafkaSinkStatus represents the current state of the KafkaSink.", + "dev.knative.eventing.v1alpha1.RequestReplyStatus": { + "description": "RequestReplyStatus represents the current state of a RequestReply.", "type": "object", - "required": [ - "AddressStatus" - ], "properties": { - "AddressStatus": { - "description": "Kafka Sink is Addressable.", - "default": {}, - "$ref": "#/definitions/dev.knative.duck.v1.AddressStatus" + "address": { + "description": "Address is a single Addressable address. If Addresses is present, Address will be ignored by clients.", + "$ref": "#/definitions/dev.knative.duck.v1.Addressable" + }, + "addresses": { + "description": "Addresses is a list of addresses for different protocols (HTTP and HTTPS) If Addresses is present, Address must be ignored by clients.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.Addressable" + } }, "annotations": { "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", @@ -4599,7 +5118,7 @@ "Type": "nested", "Group": "eventing.knative.dev", "Version": "v1alpha1", - "Kind": "KafkaSinkStatus", + "Kind": "RequestReplyStatus", "Scope": "Namespaced" } }, @@ -9284,37 +9803,206 @@ "type": "integer", "format": "int64" }, - "url": { - "description": "URL is the URL of this DomainMapping.", - "$ref": "#/definitions/dev.knative.pkg.apis.URL" - } - }, - "x-fabric8-info": { - "Type": "nested", - "Group": "serving.knative.dev", - "Version": "v1beta1", - "Kind": "DomainMappingStatus", - "Scope": "Namespaced" - } - }, - "dev.knative.serving.v1beta1.SecretTLS": { - "description": "SecretTLS wrapper for TLS SecretName.", - "type": "object", - "required": [ - "secretName" - ], - "properties": { - "secretName": { - "description": "SecretName is the name of the existing secret used to terminate TLS traffic.", - "type": "string", - "default": "" + "url": { + "description": "URL is the URL of this DomainMapping.", + "$ref": "#/definitions/dev.knative.pkg.apis.URL" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "serving.knative.dev", + "Version": "v1beta1", + "Kind": "DomainMappingStatus", + "Scope": "Namespaced" + } + }, + "dev.knative.serving.v1beta1.SecretTLS": { + "description": "SecretTLS wrapper for TLS SecretName.", + "type": "object", + "required": [ + "secretName" + ], + "properties": { + "secretName": { + "description": "SecretName is the name of the existing secret used to terminate TLS traffic.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "serving.knative.dev", + "Version": "v1beta1", + "Kind": "SecretTLS", + "Scope": "Namespaced" + } + }, + "dev.knative.sinks.v1alpha1.Aws": { + "type": "object", + "properties": { + "auth": { + "description": "SNS source configuration", + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.Auth" + }, + "s3": { + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSS3" + }, + "sns": { + "description": "SQS source configuration", + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSSNS" + }, + "sqs": { + "description": "S3 source configuration", + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSSQS" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "sinks.knative.dev", + "Version": "v1alpha1", + "Kind": "Aws", + "Scope": "Namespaced" + } + }, + "dev.knative.sinks.v1alpha1.IntegrationSink": { + "description": "IntegrationSink is the Schema for the IntegrationSink API.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.knative.sinks.v1alpha1.IntegrationSinkSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.knative.sinks.v1alpha1.IntegrationSinkStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "sinks.knative.dev", + "Version": "v1alpha1", + "Kind": "IntegrationSink", + "Scope": "Namespaced" + } + }, + "dev.knative.sinks.v1alpha1.IntegrationSinkList": { + "description": "IntegrationSinkList contains a list of IntegrationSink", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.sinks.v1alpha1.IntegrationSink" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "sinks.knative.dev", + "Version": "v1alpha1", + "Kind": "IntegrationSinkList", + "Scope": "Namespaced" + } + }, + "dev.knative.sinks.v1alpha1.IntegrationSinkSpec": { + "type": "object", + "properties": { + "aws": { + "$ref": "#/definitions/dev.knative.sinks.v1alpha1.Aws" + }, + "log": { + "description": "AWS source configuration", + "$ref": "#/definitions/dev.knative.sinks.v1alpha1.Log" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "sinks.knative.dev", + "Version": "v1alpha1", + "Kind": "IntegrationSinkSpec", + "Scope": "Namespaced" + } + }, + "dev.knative.sinks.v1alpha1.IntegrationSinkStatus": { + "type": "object", + "properties": { + "address": { + "description": "Address is a single Addressable address. If Addresses is present, Address will be ignored by clients.", + "$ref": "#/definitions/dev.knative.duck.v1.Addressable" + }, + "addresses": { + "description": "Addresses is a list of addresses for different protocols (HTTP and HTTPS) If Addresses is present, Address must be ignored by clients.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.Addressable" + } + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "policies": { + "description": "Policies holds the list of applied EventPolicies", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.AppliedEventPolicyRef" + } } }, "x-fabric8-info": { "Type": "nested", - "Group": "serving.knative.dev", - "Version": "v1beta1", - "Kind": "SecretTLS", + "Group": "sinks.knative.dev", + "Version": "v1alpha1", + "Kind": "IntegrationSinkStatus", "Scope": "Namespaced" } }, @@ -9478,6 +10166,69 @@ "Scope": "Namespaced" } }, + "dev.knative.sinks.v1alpha1.Log": { + "type": "object", + "properties": { + "level": { + "description": "Name of the logging category to use", + "type": "string" + }, + "logMask": { + "description": "Logging level to use", + "type": "boolean" + }, + "loggerName": { + "type": "string" + }, + "marker": { + "description": "Mask sensitive information in the log", + "type": "string" + }, + "multiline": { + "description": "An optional Marker name to use", + "type": "boolean" + }, + "showAllProperties": { + "description": "If enabled, outputs each information on a newline", + "type": "boolean" + }, + "showBody": { + "description": "Show all of the exchange properties (both internal and custom)", + "type": "boolean" + }, + "showBodyType": { + "description": "Show the message body", + "type": "boolean" + }, + "showCachedStreams": { + "description": "Show the stream bodies", + "type": "boolean" + }, + "showExchangePattern": { + "description": "Show the body Java type", + "type": "boolean" + }, + "showHeaders": { + "description": "Show the Message Exchange Pattern (MEP)", + "type": "boolean" + }, + "showProperties": { + "description": "Show the headers received", + "type": "boolean" + }, + "showStreams": { + "description": "Show the exchange properties (only custom)", + "type": "boolean" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "sinks.knative.dev", + "Version": "v1alpha1", + "Kind": "Log", + "Scope": "Namespaced" + } + }, "dev.knative.sources.v1.APIVersionKind": { "description": "APIVersionKind is an APIVersion and Kind tuple.", "type": "object", @@ -10445,6 +11196,33 @@ "Scope": "Namespaced" } }, + "dev.knative.sources.v1alpha1.Aws": { + "type": "object", + "properties": { + "auth": { + "description": "DynamoDB Streams source configuration", + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.Auth" + }, + "ddbStreams": { + "description": "SQS source configuration", + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSDDBStreams" + }, + "s3": { + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSS3" + }, + "sqs": { + "description": "S3 source configuration", + "$ref": "#/definitions/dev.knative.eventing.pkg.apis.common.integration.v1alpha1.AWSSQS" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "sources.knative.dev", + "Version": "v1alpha1", + "Kind": "Aws", + "Scope": "Namespaced" + } + }, "dev.knative.sources.v1alpha1.AwsSqsSource": { "description": "AwsSqsSource is the Schema for the AWS SQS API", "type": "object", @@ -11169,6 +11947,163 @@ "Scope": "Namespaced" } }, + "dev.knative.sources.v1alpha1.IntegrationSource": { + "description": "IntegrationSource is the Schema for the Integrationsources API", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.knative.sources.v1alpha1.IntegrationSourceSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.knative.sources.v1alpha1.IntegrationSourceStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "sources.knative.dev", + "Version": "v1alpha1", + "Kind": "IntegrationSource", + "Scope": "Namespaced" + } + }, + "dev.knative.sources.v1alpha1.IntegrationSourceList": { + "description": "IntegrationSourceList contains a list of IntegrationSource", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.sources.v1alpha1.IntegrationSource" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "sources.knative.dev", + "Version": "v1alpha1", + "Kind": "IntegrationSourceList", + "Scope": "Namespaced" + } + }, + "dev.knative.sources.v1alpha1.IntegrationSourceSpec": { + "description": "IntegrationSourceSpec defines the desired state of IntegrationSource", + "type": "object", + "properties": { + "aws": { + "$ref": "#/definitions/dev.knative.sources.v1alpha1.Aws" + }, + "ceOverrides": { + "description": "CloudEventOverrides defines overrides to control the output format and modifications of the event sent to the sink.", + "$ref": "#/definitions/dev.knative.duck.v1.CloudEventOverrides" + }, + "sink": { + "description": "Sink is a reference to an object that will resolve to a uri to use as the sink.", + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.Destination" + }, + "timer": { + "description": "AWS source configuration", + "$ref": "#/definitions/dev.knative.sources.v1alpha1.Timer" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "sources.knative.dev", + "Version": "v1alpha1", + "Kind": "IntegrationSourceSpec", + "Scope": "Namespaced" + } + }, + "dev.knative.sources.v1alpha1.IntegrationSourceStatus": { + "description": "IntegrationSourceStatus defines the observed state of IntegrationSource", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "auth": { + "description": "Auth defines the attributes that provide the generated service account name in the resource status.", + "$ref": "#/definitions/dev.knative.duck.v1.AuthStatus" + }, + "ceAttributes": { + "description": "CloudEventAttributes are the specific attributes that the Source uses as part of its CloudEvents.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.CloudEventAttributes" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "sinkAudience": { + "description": "SinkAudience is the OIDC audience of the sink.", + "type": "string" + }, + "sinkCACerts": { + "description": "SinkCACerts are Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468.", + "type": "string" + }, + "sinkUri": { + "description": "SinkURI is the current active sink URI that has been configured for the Source.", + "$ref": "#/definitions/dev.knative.pkg.apis.URL" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "sources.knative.dev", + "Version": "v1alpha1", + "Kind": "IntegrationSourceStatus", + "Scope": "Namespaced" + } + }, "dev.knative.sources.v1alpha1.PrometheusSource": { "description": "PrometheusSource is the Schema for the prometheussources API", "type": "object", @@ -11367,6 +12302,43 @@ "Scope": "Namespaced" } }, + "dev.knative.sources.v1alpha1.Timer": { + "type": "object", + "required": [ + "period", + "message", + "contentType" + ], + "properties": { + "contentType": { + "description": "Message to generate", + "type": "string", + "default": "" + }, + "message": { + "description": "Interval (in milliseconds) between producing messages", + "type": "string", + "default": "" + }, + "period": { + "type": "integer", + "format": "int32", + "default": 0 + }, + "repeatCount": { + "description": "Content type of generated message", + "type": "integer", + "format": "int32" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "sources.knative.dev", + "Version": "v1alpha1", + "Kind": "Timer", + "Scope": "Namespaced" + } + }, "dev.knative.sources.v1beta1.KafkaSource": { "description": "KafkaSource is the Schema for the kafkasources API.", "type": "object",