Skip to content

Commit

Permalink
build(ci): generate fabric8 models 0.1.0-alpha.14 for robot.roboscale…
Browse files Browse the repository at this point in the history
….io v0.2.6-alpha.14.6, fleet.roboscale.io v0.1.6-alpha.14 and connection-hub.roboscale.io v0.1.7-alpha.10
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Dec 30, 2023
1 parent ffc62e2 commit d87ed26
Show file tree
Hide file tree
Showing 2,076 changed files with 113,181 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.roboscale.robot</groupId>
<artifactId>robot-fabric8-client</artifactId>
<version>0.1.0-alpha.13</version>
<version>0.1.0-alpha.14</version>
<name>robot-fabric8-client</name>
<url>https://robolaunch.io</url>
<properties>
Expand Down
10 changes: 10 additions & 0 deletions src/main/java/tech/stackable/kafka/v1alpha1/KafkaCluster.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package tech.stackable.kafka.v1alpha1;

@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true)
@io.fabric8.kubernetes.model.annotation.Group("kafka.stackable.tech")
@io.fabric8.kubernetes.model.annotation.Singular("kafkacluster")
@io.fabric8.kubernetes.model.annotation.Plural("kafkaclusters")
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class KafkaCluster extends io.fabric8.kubernetes.client.CustomResource<tech.stackable.kafka.v1alpha1.KafkaClusterSpec, tech.stackable.kafka.v1alpha1.KafkaClusterStatus> implements io.fabric8.kubernetes.api.model.Namespaced {
}

78 changes: 78 additions & 0 deletions src/main/java/tech/stackable/kafka/v1alpha1/KafkaClusterSpec.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
package tech.stackable.kafka.v1alpha1;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"brokers","clusterConfig","clusterOperation","image"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class KafkaClusterSpec implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* This struct represents a role - e.g. HDFS datanodes or Trino workers. It has a [`HashMap`] containing all the roleGroups that are part of this role. Additionally, there is a `config`, which is configurable at the role *and* roleGroup level. Everything at roleGroup level is merged on top of what is configured on role level using the [`Merge`] trait. There is also a second form of config, which can only be configured at role level, the `roleConfig`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("brokers")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("This struct represents a role - e.g. HDFS datanodes or Trino workers. It has a [`HashMap`] containing all the roleGroups that are part of this role. Additionally, there is a `config`, which is configurable at the role *and* roleGroup level. Everything at roleGroup level is merged on top of what is configured on role level using the [`Merge`] trait. There is also a second form of config, which can only be configured at role level, the `roleConfig`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET)
@io.fabric8.generator.annotation.Nullable()
private tech.stackable.kafka.v1alpha1.kafkaclusterspec.Brokers brokers;

public tech.stackable.kafka.v1alpha1.kafkaclusterspec.Brokers getBrokers() {
return brokers;
}

public void setBrokers(tech.stackable.kafka.v1alpha1.kafkaclusterspec.Brokers brokers) {
this.brokers = brokers;
}

/**
* Kafka settings that affect all roles and role groups. The settings in the `clusterConfig` are cluster wide settings that do not need to be configurable at role or role group level.
*/
@com.fasterxml.jackson.annotation.JsonProperty("clusterConfig")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Kafka settings that affect all roles and role groups. The settings in the `clusterConfig` are cluster wide settings that do not need to be configurable at role or role group level.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private tech.stackable.kafka.v1alpha1.kafkaclusterspec.ClusterConfig clusterConfig;

public tech.stackable.kafka.v1alpha1.kafkaclusterspec.ClusterConfig getClusterConfig() {
return clusterConfig;
}

public void setClusterConfig(tech.stackable.kafka.v1alpha1.kafkaclusterspec.ClusterConfig clusterConfig) {
this.clusterConfig = clusterConfig;
}

/**
* [Cluster operations](https://docs.stackable.tech/home/nightly/concepts/operations/cluster_operations) properties, allow stopping the product instance as well as pausing reconciliation.
*/
@com.fasterxml.jackson.annotation.JsonProperty("clusterOperation")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("[Cluster operations](https://docs.stackable.tech/home/nightly/concepts/operations/cluster_operations) properties, allow stopping the product instance as well as pausing reconciliation.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private tech.stackable.kafka.v1alpha1.kafkaclusterspec.ClusterOperation clusterOperation = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"stopped\":false,\"reconciliationPaused\":false}", tech.stackable.kafka.v1alpha1.kafkaclusterspec.ClusterOperation.class);

public tech.stackable.kafka.v1alpha1.kafkaclusterspec.ClusterOperation getClusterOperation() {
return clusterOperation;
}

public void setClusterOperation(tech.stackable.kafka.v1alpha1.kafkaclusterspec.ClusterOperation clusterOperation) {
this.clusterOperation = clusterOperation;
}

/**
* Specify which image to use, the easiest way is to only configure the `productVersion`. You can also configure a custom image registry to pull from, as well as completely custom images.
*
* Consult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) for details.
*/
@com.fasterxml.jackson.annotation.JsonProperty("image")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Specify which image to use, the easiest way is to only configure the `productVersion`. You can also configure a custom image registry to pull from, as well as completely custom images.\n\nConsult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) for details.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private tech.stackable.kafka.v1alpha1.kafkaclusterspec.Image image;

public tech.stackable.kafka.v1alpha1.kafkaclusterspec.Image getImage() {
return image;
}

public void setImage(tech.stackable.kafka.v1alpha1.kafkaclusterspec.Image image) {
this.image = image;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package tech.stackable.kafka.v1alpha1;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"conditions"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class KafkaClusterStatus implements io.fabric8.kubernetes.api.model.KubernetesResource {

@com.fasterxml.jackson.annotation.JsonProperty("conditions")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.List<tech.stackable.kafka.v1alpha1.kafkaclusterstatus.Conditions> conditions = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("[]", java.util.List.class);

public java.util.List<tech.stackable.kafka.v1alpha1.kafkaclusterstatus.Conditions> getConditions() {
return conditions;
}

public void setConditions(java.util.List<tech.stackable.kafka.v1alpha1.kafkaclusterstatus.Conditions> conditions) {
this.conditions = conditions;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
package tech.stackable.kafka.v1alpha1.kafkaclusterspec;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cliOverrides","config","configOverrides","envOverrides","podOverrides","roleConfig","roleGroups"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class Brokers implements io.fabric8.kubernetes.api.model.KubernetesResource {

@com.fasterxml.jackson.annotation.JsonProperty("cliOverrides")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.Map<java.lang.String, String> cliOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class);

public java.util.Map<java.lang.String, String> getCliOverrides() {
return cliOverrides;
}

public void setCliOverrides(java.util.Map<java.lang.String, String> cliOverrides) {
this.cliOverrides = cliOverrides;
}

@com.fasterxml.jackson.annotation.JsonProperty("config")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.Config config = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.Config.class);

public tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.Config getConfig() {
return config;
}

public void setConfig(tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.Config config) {
this.config = config;
}

/**
* The `configOverrides` can be used to configure properties in product config files that are not exposed in the CRD. Read the [config overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#config-overrides) and consult the operator specific usage guide documentation for details on the available config files and settings for the specific product.
*/
@com.fasterxml.jackson.annotation.JsonProperty("configOverrides")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("The `configOverrides` can be used to configure properties in product config files that are not exposed in the CRD. Read the [config overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#config-overrides) and consult the operator specific usage guide documentation for details on the available config files and settings for the specific product.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.Map<java.lang.String, java.util.Map<java.lang.String, String>> configOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class);

public java.util.Map<java.lang.String, java.util.Map<java.lang.String, String>> getConfigOverrides() {
return configOverrides;
}

public void setConfigOverrides(java.util.Map<java.lang.String, java.util.Map<java.lang.String, String>> configOverrides) {
this.configOverrides = configOverrides;
}

/**
* `envOverrides` configure environment variables to be set in the Pods. It is a map from strings to strings - environment variables and the value to set. Read the [environment variable overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#env-overrides) for more information and consult the operator specific usage guide to find out about the product specific environment variables that are available.
*/
@com.fasterxml.jackson.annotation.JsonProperty("envOverrides")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("`envOverrides` configure environment variables to be set in the Pods. It is a map from strings to strings - environment variables and the value to set. Read the [environment variable overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#env-overrides) for more information and consult the operator specific usage guide to find out about the product specific environment variables that are available.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.Map<java.lang.String, String> envOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class);

public java.util.Map<java.lang.String, String> getEnvOverrides() {
return envOverrides;
}

public void setEnvOverrides(java.util.Map<java.lang.String, String> envOverrides) {
this.envOverrides = envOverrides;
}

/**
* In the `podOverrides` property you can define a [PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) to override any property that can be set on a Kubernetes Pod. Read the [Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides) for more information.
*/
@com.fasterxml.jackson.annotation.JsonProperty("podOverrides")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("In the `podOverrides` property you can define a [PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) to override any property that can be set on a Kubernetes Pod. Read the [Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides) for more information.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.PodOverrides podOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.PodOverrides.class);

public tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.PodOverrides getPodOverrides() {
return podOverrides;
}

public void setPodOverrides(tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.PodOverrides podOverrides) {
this.podOverrides = podOverrides;
}

/**
* This is a product-agnostic RoleConfig, which is sufficient for most of the products.
*/
@com.fasterxml.jackson.annotation.JsonProperty("roleConfig")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("This is a product-agnostic RoleConfig, which is sufficient for most of the products.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.RoleConfig roleConfig = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"podDisruptionBudget\":{\"enabled\":true,\"maxUnavailable\":null}}", tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.RoleConfig.class);

public tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.RoleConfig getRoleConfig() {
return roleConfig;
}

public void setRoleConfig(tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.RoleConfig roleConfig) {
this.roleConfig = roleConfig;
}

@com.fasterxml.jackson.annotation.JsonProperty("roleGroups")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.Map<java.lang.String, tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.RoleGroups> roleGroups;

public java.util.Map<java.lang.String, tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.RoleGroups> getRoleGroups() {
return roleGroups;
}

public void setRoleGroups(java.util.Map<java.lang.String, tech.stackable.kafka.v1alpha1.kafkaclusterspec.brokers.RoleGroups> roleGroups) {
this.roleGroups = roleGroups;
}
}

Loading

0 comments on commit d87ed26

Please sign in to comment.