Skip to content

Commit

Permalink
build(ci): generate fabric8 models 0.1.0-alpha.32 for robot.roboscale…
Browse files Browse the repository at this point in the history
….io v0.2.7-alpha.6.4, fleet.roboscale.io v0.1.6-alpha.18 and connection-hub.roboscale.io v0.1.8-alpha.4
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Mar 21, 2024
1 parent 42ecc06 commit adcbfed
Show file tree
Hide file tree
Showing 108 changed files with 10,309 additions and 1 deletion.
2,650 changes: 2,650 additions & 0 deletions crds/base/robot.roboscale.io_codeeditors.yaml

Large diffs are not rendered by default.

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.31</version>
<version>0.1.0-alpha.32</version>
<name>robot-fabric8-client</name>
<url>https://robolaunch.io</url>
<properties>
Expand Down
10 changes: 10 additions & 0 deletions src/main/java/io/roboscale/robot/v1alpha2/CodeEditor.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package io.roboscale.robot.v1alpha2;

@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha2" , storage = true , served = true)
@io.fabric8.kubernetes.model.annotation.Group("robot.roboscale.io")
@io.fabric8.kubernetes.model.annotation.Singular("codeeditor")
@io.fabric8.kubernetes.model.annotation.Plural("codeeditors")
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class CodeEditor extends io.fabric8.kubernetes.client.CustomResource<io.roboscale.robot.v1alpha2.CodeEditorSpec, io.roboscale.robot.v1alpha2.CodeEditorStatus> implements io.fabric8.kubernetes.api.model.Namespaced {
}

173 changes: 173 additions & 0 deletions src/main/java/io/roboscale/robot/v1alpha2/CodeEditorSpec.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
package io.roboscale.robot.v1alpha2;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"container","externalVolumes","ingress","port","remote","serviceType","tlsSecretName","version","volumeClaimTemplates"})
@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 CodeEditorSpec implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* Configurational parameters for code editor container.
*/
@com.fasterxml.jackson.annotation.JsonProperty("container")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Configurational parameters for code editor container.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha2.codeeditorspec.Container container;

public io.roboscale.robot.v1alpha2.codeeditorspec.Container getContainer() {
return container;
}

public void setContainer(io.roboscale.robot.v1alpha2.codeeditorspec.Container container) {
this.container = container;
}

/**
* External volumes.
*/
@com.fasterxml.jackson.annotation.JsonProperty("externalVolumes")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("External volumes.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.List<io.roboscale.robot.v1alpha2.codeeditorspec.ExternalVolumes> externalVolumes;

public java.util.List<io.roboscale.robot.v1alpha2.codeeditorspec.ExternalVolumes> getExternalVolumes() {
return externalVolumes;
}

public void setExternalVolumes(java.util.List<io.roboscale.robot.v1alpha2.codeeditorspec.ExternalVolumes> externalVolumes) {
this.externalVolumes = externalVolumes;
}

/**
* CodeEditor will create an Ingress resource if `true`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("ingress")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("CodeEditor will create an Ingress resource if `true`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private Boolean ingress;

public Boolean getIngress() {
return ingress;
}

public void setIngress(Boolean ingress) {
this.ingress = ingress;
}

/**
* Port that code editor will use inside the container.
*/
@com.fasterxml.jackson.annotation.JsonProperty("port")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Port that code editor will use inside the container.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private Integer port = 9000;

public Integer getPort() {
return port;
}

public void setPort(Integer port) {
this.port = port;
}

/**
* If `true`, code editor will be consumed remotely.
*/
@com.fasterxml.jackson.annotation.JsonProperty("remote")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("If `true`, code editor will be consumed remotely.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private Boolean remote;

public Boolean getRemote() {
return remote;
}

public void setRemote(Boolean remote) {
this.remote = remote;
}

public enum ServiceType {

@com.fasterxml.jackson.annotation.JsonProperty("ClusterIP")
CLUSTERIP("ClusterIP"), @com.fasterxml.jackson.annotation.JsonProperty("NodePort")
NODEPORT("NodePort");

java.lang.String value;

ServiceType(java.lang.String value) {
this.value = value;
}

@com.fasterxml.jackson.annotation.JsonValue()
public java.lang.String getValue() {
return value;
}
}

/**
* Service type of CodeEditor. `ClusterIP` and `NodePort` is supported.
*/
@com.fasterxml.jackson.annotation.JsonProperty("serviceType")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Service type of CodeEditor. `ClusterIP` and `NodePort` is supported.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private ServiceType serviceType = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("\"ClusterIP\"", ServiceType.class);

public ServiceType getServiceType() {
return serviceType;
}

public void setServiceType(ServiceType serviceType) {
this.serviceType = serviceType;
}

/**
* Name of the TLS secret for ingress resource.
*/
@com.fasterxml.jackson.annotation.JsonProperty("tlsSecretName")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the TLS secret for ingress resource.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String tlsSecretName;

public String getTlsSecretName() {
return tlsSecretName;
}

public void setTlsSecretName(String tlsSecretName) {
this.tlsSecretName = tlsSecretName;
}

/**
* App version of the code editor.
*/
@com.fasterxml.jackson.annotation.JsonProperty("version")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("App version of the code editor.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String version = "4.22.0";

public String getVersion() {
return version;
}

public void setVersion(String version) {
this.version = version;
}

/**
* Volume templates for ROS 2 workload. For each volume template, operator will create a PersistentVolumeClaim that can be mounted to the ROS 2 workload.
*/
@com.fasterxml.jackson.annotation.JsonProperty("volumeClaimTemplates")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Volume templates for ROS 2 workload. For each volume template, operator will create a PersistentVolumeClaim that can be mounted to the ROS 2 workload.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.List<io.roboscale.robot.v1alpha2.codeeditorspec.VolumeClaimTemplates> volumeClaimTemplates;

public java.util.List<io.roboscale.robot.v1alpha2.codeeditorspec.VolumeClaimTemplates> getVolumeClaimTemplates() {
return volumeClaimTemplates;
}

public void setVolumeClaimTemplates(java.util.List<io.roboscale.robot.v1alpha2.codeeditorspec.VolumeClaimTemplates> volumeClaimTemplates) {
this.volumeClaimTemplates = volumeClaimTemplates;
}
}

121 changes: 121 additions & 0 deletions src/main/java/io/roboscale/robot/v1alpha2/CodeEditorStatus.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
package io.roboscale.robot.v1alpha2;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"deploymentStatus","externalVolumeStatuses","ingressStatus","phase","pvcStatuses","serviceStatus","workloadUpdateNeeded"})
@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 CodeEditorStatus implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* Status of code editor deployment.
*/
@com.fasterxml.jackson.annotation.JsonProperty("deploymentStatus")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Status of code editor deployment.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha2.codeeditorstatus.DeploymentStatus deploymentStatus;

public io.roboscale.robot.v1alpha2.codeeditorstatus.DeploymentStatus getDeploymentStatus() {
return deploymentStatus;
}

public void setDeploymentStatus(io.roboscale.robot.v1alpha2.codeeditorstatus.DeploymentStatus deploymentStatus) {
this.deploymentStatus = deploymentStatus;
}

/**
* Statuses of external volumes.
*/
@com.fasterxml.jackson.annotation.JsonProperty("externalVolumeStatuses")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Statuses of external volumes.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.List<io.roboscale.robot.v1alpha2.codeeditorstatus.ExternalVolumeStatuses> externalVolumeStatuses;

public java.util.List<io.roboscale.robot.v1alpha2.codeeditorstatus.ExternalVolumeStatuses> getExternalVolumeStatuses() {
return externalVolumeStatuses;
}

public void setExternalVolumeStatuses(java.util.List<io.roboscale.robot.v1alpha2.codeeditorstatus.ExternalVolumeStatuses> externalVolumeStatuses) {
this.externalVolumeStatuses = externalVolumeStatuses;
}

/**
* Status of CodeEditor Ingress.
*/
@com.fasterxml.jackson.annotation.JsonProperty("ingressStatus")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Status of CodeEditor Ingress.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha2.codeeditorstatus.IngressStatus ingressStatus;

public io.roboscale.robot.v1alpha2.codeeditorstatus.IngressStatus getIngressStatus() {
return ingressStatus;
}

public void setIngressStatus(io.roboscale.robot.v1alpha2.codeeditorstatus.IngressStatus ingressStatus) {
this.ingressStatus = ingressStatus;
}

/**
* Phase of CodeEditor. It sums the general status of code editor.
*/
@com.fasterxml.jackson.annotation.JsonProperty("phase")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Phase of CodeEditor. It sums the general status of code editor.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String phase;

public String getPhase() {
return phase;
}

public void setPhase(String phase) {
this.phase = phase;
}

/**
* Statuses of owned PersistentVolumeClaims.
*/
@com.fasterxml.jackson.annotation.JsonProperty("pvcStatuses")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Statuses of owned PersistentVolumeClaims.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.List<io.roboscale.robot.v1alpha2.codeeditorstatus.PvcStatuses> pvcStatuses;

public java.util.List<io.roboscale.robot.v1alpha2.codeeditorstatus.PvcStatuses> getPvcStatuses() {
return pvcStatuses;
}

public void setPvcStatuses(java.util.List<io.roboscale.robot.v1alpha2.codeeditorstatus.PvcStatuses> pvcStatuses) {
this.pvcStatuses = pvcStatuses;
}

/**
* Status of code editor service.
*/
@com.fasterxml.jackson.annotation.JsonProperty("serviceStatus")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Status of code editor service.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha2.codeeditorstatus.ServiceStatus serviceStatus;

public io.roboscale.robot.v1alpha2.codeeditorstatus.ServiceStatus getServiceStatus() {
return serviceStatus;
}

public void setServiceStatus(io.roboscale.robot.v1alpha2.codeeditorstatus.ServiceStatus serviceStatus) {
this.serviceStatus = serviceStatus;
}

/**
* Field to indicate if the workload should be restarted.
*/
@com.fasterxml.jackson.annotation.JsonProperty("workloadUpdateNeeded")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Field to indicate if the workload should be restarted.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private Boolean workloadUpdateNeeded;

public Boolean getWorkloadUpdateNeeded() {
return workloadUpdateNeeded;
}

public void setWorkloadUpdateNeeded(Boolean workloadUpdateNeeded) {
this.workloadUpdateNeeded = workloadUpdateNeeded;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package io.roboscale.robot.v1alpha2.codeeditorspec;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"securityContext","volumeMounts"})
@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 Container implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* Security context of the code editor container.
*/
@com.fasterxml.jackson.annotation.JsonProperty("securityContext")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Security context of the code editor container.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha2.codeeditorspec.container.SecurityContext securityContext;

public io.roboscale.robot.v1alpha2.codeeditorspec.container.SecurityContext getSecurityContext() {
return securityContext;
}

public void setSecurityContext(io.roboscale.robot.v1alpha2.codeeditorspec.container.SecurityContext securityContext) {
this.securityContext = securityContext;
}

/**
* Mounted volumes of the code editor container.
*/
@com.fasterxml.jackson.annotation.JsonProperty("volumeMounts")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Mounted volumes of the code editor container.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.List<io.roboscale.robot.v1alpha2.codeeditorspec.container.VolumeMounts> volumeMounts;

public java.util.List<io.roboscale.robot.v1alpha2.codeeditorspec.container.VolumeMounts> getVolumeMounts() {
return volumeMounts;
}

public void setVolumeMounts(java.util.List<io.roboscale.robot.v1alpha2.codeeditorspec.container.VolumeMounts> volumeMounts) {
this.volumeMounts = volumeMounts;
}
}

Loading

0 comments on commit adcbfed

Please sign in to comment.