From 0d8f28c71f599d142c71aede1efd16c97354a9e1 Mon Sep 17 00:00:00 2001 From: tunahanertekin Date: Wed, 6 Mar 2024 07:06:48 +0000 Subject: [PATCH] build(ci): generate fabric8 models 0.1.0-alpha.26 for robot.roboscale.io v0.2.7-alpha.6, fleet.roboscale.io v0.1.6-alpha.14 and connection-hub.roboscale.io v0.1.7-alpha.12 --- crds/base/robot.roboscale.io_robots.yaml | 3 + crds/base/robot.roboscale.io_ros2bridges.yaml | 4 +- .../robot.roboscale.io_ros2workloads.yaml | 157 +++++++++--------- pom.xml | 2 +- .../robot/DiscoveryServerTemplate.java | 14 +- .../robot/v1alpha2/ROS2WorkloadSpec.java | 34 ++-- .../DiscoveryServerTemplate.java | 14 +- ...{Containers.java => LaunchContainers.java} | 8 +- .../container/startupprobe/Exec.java | 25 --- .../container/startupprobe/HttpGet.java | 90 ---------- .../container/startupprobe/TcpSocket.java | 42 ----- .../startupprobe/httpget/HttpHeaders.java | 43 ----- .../Container.java | 68 ++++---- .../container/Env.java | 8 +- .../container/EnvFrom.java | 14 +- .../container/Lifecycle.java | 14 +- .../container/LivenessProbe.java | 26 +-- .../container/Ports.java | 2 +- .../container/ReadinessProbe.java | 26 +-- .../container/Resources.java | 8 +- .../container/SecurityContext.java | 26 +-- .../container/StartupProbe.java | 26 +-- .../container/VolumeDevices.java | 2 +- .../container/VolumeMounts.java | 2 +- .../container/env/ValueFrom.java | 26 +-- .../env/valuefrom/ConfigMapKeyRef.java | 2 +- .../container/env/valuefrom/FieldRef.java | 2 +- .../env/valuefrom/ResourceFieldRef.java | 2 +- .../container/env/valuefrom/SecretKeyRef.java | 2 +- .../container/envfrom/ConfigMapRef.java | 2 +- .../container/envfrom/SecretRef.java | 2 +- .../container/lifecycle/PostStart.java | 20 +-- .../container/lifecycle/PreStop.java | 20 +-- .../container/lifecycle/poststart/Exec.java | 25 +++ .../lifecycle/poststart/HttpGet.java | 90 ++++++++++ .../lifecycle/poststart/TcpSocket.java | 42 +++++ .../poststart/httpget/HttpHeaders.java | 43 +++++ .../container/lifecycle/prestop}/Exec.java | 2 +- .../container/lifecycle/prestop/HttpGet.java | 8 +- .../lifecycle/prestop}/TcpSocket.java | 2 +- .../prestop/httpget/HttpHeaders.java | 2 +- .../container/livenessprobe}/Exec.java | 2 +- .../container/livenessprobe/Grpc.java | 2 +- .../container/livenessprobe}/HttpGet.java | 8 +- .../container/livenessprobe/TcpSocket.java | 2 +- .../livenessprobe/httpget/HttpHeaders.java | 2 +- .../container/readinessprobe}/Exec.java | 2 +- .../container/readinessprobe}/Grpc.java | 2 +- .../container/readinessprobe/HttpGet.java | 8 +- .../container/readinessprobe}/TcpSocket.java | 2 +- .../readinessprobe}/httpget/HttpHeaders.java | 2 +- .../container/resources/Claims.java | 2 +- .../securitycontext/Capabilities.java | 2 +- .../securitycontext/SeLinuxOptions.java | 2 +- .../securitycontext/SeccompProfile.java | 2 +- .../securitycontext/WindowsOptions.java | 2 +- .../container/startupprobe}/Exec.java | 2 +- .../container/startupprobe}/Grpc.java | 2 +- .../container/startupprobe}/HttpGet.java | 8 +- .../container/startupprobe}/TcpSocket.java | 2 +- .../startupprobe}/httpget/HttpHeaders.java | 2 +- 61 files changed, 519 insertions(+), 489 deletions(-) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{Containers.java => LaunchContainers.java} (81%) delete mode 100644 src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/Exec.java delete mode 100644 src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/HttpGet.java delete mode 100644 src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/TcpSocket.java delete mode 100644 src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/httpget/HttpHeaders.java rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/Container.java (89%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/Env.java (89%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/EnvFrom.java (74%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/Lifecycle.java (83%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/LivenessProbe.java (87%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/Ports.java (97%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/ReadinessProbe.java (87%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/Resources.java (92%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/SecurityContext.java (88%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/StartupProbe.java (87%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/VolumeDevices.java (95%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/VolumeMounts.java (98%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/env/ValueFrom.java (68%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/env/valuefrom/ConfigMapKeyRef.java (95%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/env/valuefrom/FieldRef.java (94%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/env/valuefrom/ResourceFieldRef.java (96%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/env/valuefrom/SecretKeyRef.java (96%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/envfrom/ConfigMapRef.java (95%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/envfrom/SecretRef.java (95%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/lifecycle/PostStart.java (68%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/lifecycle/PreStop.java (68%) create mode 100644 src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/Exec.java create mode 100644 src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/httpget/HttpHeaders.java rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/lifecycle/poststart => launchcontainers/container/lifecycle/prestop}/Exec.java (94%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/lifecycle/prestop/HttpGet.java (90%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/lifecycle/poststart => launchcontainers/container/lifecycle/prestop}/TcpSocket.java (94%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/lifecycle/prestop/httpget/HttpHeaders.java (93%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/readinessprobe => launchcontainers/container/livenessprobe}/Exec.java (94%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/livenessprobe/Grpc.java (95%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/lifecycle/poststart => launchcontainers/container/livenessprobe}/HttpGet.java (91%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/livenessprobe/TcpSocket.java (95%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/livenessprobe/httpget/HttpHeaders.java (93%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/lifecycle/prestop => launchcontainers/container/readinessprobe}/Exec.java (94%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/startupprobe => launchcontainers/container/readinessprobe}/Grpc.java (95%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/readinessprobe/HttpGet.java (90%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/lifecycle/prestop => launchcontainers/container/readinessprobe}/TcpSocket.java (94%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/lifecycle/poststart => launchcontainers/container/readinessprobe}/httpget/HttpHeaders.java (93%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/resources/Claims.java (93%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/securitycontext/Capabilities.java (93%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/securitycontext/SeLinuxOptions.java (96%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/securitycontext/SeccompProfile.java (96%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers => launchcontainers}/container/securitycontext/WindowsOptions.java (98%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/livenessprobe => launchcontainers/container/startupprobe}/Exec.java (94%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/readinessprobe => launchcontainers/container/startupprobe}/Grpc.java (95%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/livenessprobe => launchcontainers/container/startupprobe}/HttpGet.java (90%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/readinessprobe => launchcontainers/container/startupprobe}/TcpSocket.java (95%) rename src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/{containers/container/readinessprobe => launchcontainers/container/startupprobe}/httpget/HttpHeaders.java (93%) diff --git a/crds/base/robot.roboscale.io_robots.yaml b/crds/base/robot.roboscale.io_robots.yaml index 23d52bcc..7b33c653 100644 --- a/crds/base/robot.roboscale.io_robots.yaml +++ b/crds/base/robot.roboscale.io_robots.yaml @@ -140,6 +140,9 @@ spec: with Server's hostname. Used for getting Server's IP over DNS. type: string + protocol: + default: TCP + type: string reference: description: Reference to the `Server` instance. It is used if `.spec.type` is `Client`. Referenced object can be previously diff --git a/crds/base/robot.roboscale.io_ros2bridges.yaml b/crds/base/robot.roboscale.io_ros2bridges.yaml index 0fb0e8fa..a4df896b 100644 --- a/crds/base/robot.roboscale.io_ros2bridges.yaml +++ b/crds/base/robot.roboscale.io_ros2bridges.yaml @@ -33,7 +33,7 @@ spec: metadata: type: object spec: - description: ROS2BridgeSpec defines the desired state of ROS2Bridge. + description: Specification of the desired behavior of the ROS2Bridge. properties: discoveryServerRef: description: Object reference to DiscoveryServer. @@ -97,7 +97,7 @@ spec: - distro type: object status: - description: ROS2BridgeStatus defines the observed state of ROS2Bridge. + description: Most recently observed status of the ROS2Bridge. properties: connectionInfo: description: Connection info obtained from DiscoveryServer. diff --git a/crds/base/robot.roboscale.io_ros2workloads.yaml b/crds/base/robot.roboscale.io_ros2workloads.yaml index 0841ba1f..9cb4736e 100644 --- a/crds/base/robot.roboscale.io_ros2workloads.yaml +++ b/crds/base/robot.roboscale.io_ros2workloads.yaml @@ -33,9 +33,86 @@ spec: metadata: type: object spec: - description: ROS2WorkloadSpec defines the desired state of ROS2Workload. + description: Specification of the desired behavior of the ROS2Workload. properties: - containers: + discoveryServerTemplate: + description: Discovery server configurational parameters. + properties: + cluster: + description: Cloud instance name that holds DiscoveryServer instance + with `Server` type. Should be empty if the type is `Server` + since it takes cloud instance's name automatically. Should be + set if the type is `Client`. + type: string + domainID: + description: ROS domain ID for robot. See https://docs.ros.org/en/foxy/Concepts/About-Domain-ID.html. + maximum: 101 + minimum: 0 + type: integer + hostname: + description: If instance type is `Server`, it can be an arbitrary + value. If instance type is `Client`, it should be the same with + Server's hostname. Used for getting Server's IP over DNS. + type: string + protocol: + default: TCP + type: string + reference: + description: Reference to the `Server` instance. It is used if + `.spec.type` is `Client`. Referenced object can be previously + provisioned in another cluster. In that case, cluster's name + can be specified in `.spec.cluster` field. + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: 'If referring to a piece of an object instead + of an entire object, this string should contain a valid + JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within + a pod, this would take on a value like: "spec.containers{name}" + (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" + (container with index 2 in this pod). This syntax is chosen + only to have some well-defined way of referencing a part + of an object. TODO: this design is not final and this field + is subject to change in the future.' + 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 + name: + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' + type: string + namespace: + description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' + type: string + resourceVersion: + description: 'Specific resourceVersion to which this reference + is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' + type: string + uid: + description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' + type: string + type: object + x-kubernetes-map-type: atomic + subdomain: + description: If instance type is `Server`, it can be an arbitrary + value. If instance type is `Client`, it should be the same with + Server's subdomain. Used for getting Server's IP over DNS. + type: string + type: + description: Instance type can be either `Server` or `Client`. + If `Server`, instance creates discovery server resources and + workloads. Other `Client` instances can connect to the `Server` + instance. If `Client`, instance tries to connect a `Server` + instance and hold `Server` configuration in a ConfigMap. + type: string + required: + - domainID + type: object + launchContainers: description: Configurational parameters for containers that will be encapsulated within the ROS 2 workload StatefulSet. items: @@ -1318,80 +1395,6 @@ spec: - replicas type: object type: array - discoveryServerTemplate: - description: Discovery server configurational parameters. - properties: - cluster: - description: Cloud instance name that holds DiscoveryServer instance - with `Server` type. Should be empty if the type is `Server` - since it takes cloud instance's name automatically. Should be - set if the type is `Client`. - type: string - domainID: - description: ROS domain ID for robot. See https://docs.ros.org/en/foxy/Concepts/About-Domain-ID.html. - maximum: 101 - minimum: 0 - type: integer - hostname: - description: If instance type is `Server`, it can be an arbitrary - value. If instance type is `Client`, it should be the same with - Server's hostname. Used for getting Server's IP over DNS. - type: string - reference: - description: Reference to the `Server` instance. It is used if - `.spec.type` is `Client`. Referenced object can be previously - provisioned in another cluster. In that case, cluster's name - can be specified in `.spec.cluster` field. - properties: - apiVersion: - description: API version of the referent. - type: string - fieldPath: - description: 'If referring to a piece of an object instead - of an entire object, this string should contain a valid - JSON/Go field access statement, such as desiredState.manifest.containers[2]. - For example, if the object reference is to a container within - a pod, this would take on a value like: "spec.containers{name}" - (where "name" refers to the name of the container that triggered - the event) or if no container name is specified "spec.containers[2]" - (container with index 2 in this pod). This syntax is chosen - only to have some well-defined way of referencing a part - of an object. TODO: this design is not final and this field - is subject to change in the future.' - 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 - name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' - type: string - namespace: - description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' - type: string - resourceVersion: - description: 'Specific resourceVersion to which this reference - is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' - type: string - uid: - description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' - type: string - type: object - x-kubernetes-map-type: atomic - subdomain: - description: If instance type is `Server`, it can be an arbitrary - value. If instance type is `Client`, it should be the same with - Server's subdomain. Used for getting Server's IP over DNS. - type: string - type: - description: Instance type can be either `Server` or `Client`. - If `Server`, instance creates discovery server resources and - workloads. Other `Client` instances can connect to the `Server` - instance. If `Client`, instance tries to connect a `Server` - instance and hold `Server` configuration in a ConfigMap. - type: string - required: - - domainID - type: object ros2BridgeTemplate: description: ROS 2 Bridge configurational parameters. properties: @@ -1690,7 +1693,7 @@ spec: - discoveryServerTemplate type: object status: - description: ROS2WorkloadStatus defines the observed state of ROS2Workload. + description: Most recently observed status of the ROS2Workload. properties: discoveryServerStatus: description: Discovery server instance status. diff --git a/pom.xml b/pom.xml index ddcf4fe5..f6edbdd1 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 io.roboscale.robot robot-fabric8-client - 0.1.0-alpha.25 + 0.1.0-alpha.26 robot-fabric8-client https://robolaunch.io diff --git a/src/main/java/io/roboscale/robot/v1alpha1/robotspec/robot/DiscoveryServerTemplate.java b/src/main/java/io/roboscale/robot/v1alpha1/robotspec/robot/DiscoveryServerTemplate.java index c7b6835e..36109021 100644 --- a/src/main/java/io/roboscale/robot/v1alpha1/robotspec/robot/DiscoveryServerTemplate.java +++ b/src/main/java/io/roboscale/robot/v1alpha1/robotspec/robot/DiscoveryServerTemplate.java @@ -1,7 +1,7 @@ package io.roboscale.robot.v1alpha1.robotspec.robot; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) -@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cluster","domainID","hostname","reference","subdomain","type"}) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cluster","domainID","hostname","protocol","reference","subdomain","type"}) @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 DiscoveryServerTemplate implements io.fabric8.kubernetes.api.model.KubernetesResource { @@ -57,6 +57,18 @@ public void setHostname(String hostname) { this.hostname = hostname; } + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol = "TCP"; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } + /** * Reference to the `Server` instance. It is used if `.spec.type` is `Client`. Referenced object can be previously provisioned in another cluster. In that case, cluster's name can be specified in `.spec.cluster` field. */ diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ROS2WorkloadSpec.java b/src/main/java/io/roboscale/robot/v1alpha2/ROS2WorkloadSpec.java index cdc2ce81..dcf6fcde 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ROS2WorkloadSpec.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ROS2WorkloadSpec.java @@ -1,27 +1,11 @@ package io.roboscale.robot.v1alpha2; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) -@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containers","discoveryServerTemplate","ros2BridgeTemplate","volumeClaimTemplates"}) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"discoveryServerTemplate","launchContainers","ros2BridgeTemplate","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 ROS2WorkloadSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { - /** - * Configurational parameters for containers that will be encapsulated within the ROS 2 workload StatefulSet. - */ - @com.fasterxml.jackson.annotation.JsonProperty("containers") - @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configurational parameters for containers that will be encapsulated within the ROS 2 workload StatefulSet.") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List containers; - - public java.util.List getContainers() { - return containers; - } - - public void setContainers(java.util.List containers) { - this.containers = containers; - } - /** * Discovery server configurational parameters. */ @@ -39,6 +23,22 @@ public void setDiscoveryServerTemplate(io.roboscale.robot.v1alpha2.ros2workloads this.discoveryServerTemplate = discoveryServerTemplate; } + /** + * Configurational parameters for containers that will be encapsulated within the ROS 2 workload StatefulSet. + */ + @com.fasterxml.jackson.annotation.JsonProperty("launchContainers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configurational parameters for containers that will be encapsulated within the ROS 2 workload StatefulSet.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List launchContainers; + + public java.util.List getLaunchContainers() { + return launchContainers; + } + + public void setLaunchContainers(java.util.List launchContainers) { + this.launchContainers = launchContainers; + } + /** * ROS 2 Bridge configurational parameters. */ diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/DiscoveryServerTemplate.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/DiscoveryServerTemplate.java index 1e37dfbd..dfe1c585 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/DiscoveryServerTemplate.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/DiscoveryServerTemplate.java @@ -1,7 +1,7 @@ package io.roboscale.robot.v1alpha2.ros2workloadspec; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) -@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cluster","domainID","hostname","reference","subdomain","type"}) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cluster","domainID","hostname","protocol","reference","subdomain","type"}) @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 DiscoveryServerTemplate implements io.fabric8.kubernetes.api.model.KubernetesResource { @@ -57,6 +57,18 @@ public void setHostname(String hostname) { this.hostname = hostname; } + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol = "TCP"; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } + /** * Reference to the `Server` instance. It is used if `.spec.type` is `Client`. Referenced object can be previously provisioned in another cluster. In that case, cluster's name can be specified in `.spec.cluster` field. */ diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/Containers.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/LaunchContainers.java similarity index 81% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/Containers.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/LaunchContainers.java index 4dbc4134..01913605 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/Containers.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/LaunchContainers.java @@ -4,7 +4,7 @@ @com.fasterxml.jackson.annotation.JsonPropertyOrder({"container","replicas"}) @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 Containers implements io.fabric8.kubernetes.api.model.KubernetesResource { +public class LaunchContainers implements io.fabric8.kubernetes.api.model.KubernetesResource { /** * Single container configuration for stateful set. @@ -12,13 +12,13 @@ public class Containers implements io.fabric8.kubernetes.api.model.KubernetesRes @com.fasterxml.jackson.annotation.JsonProperty("container") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Single container configuration for stateful set.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.Container container; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.Container container; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.Container getContainer() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.Container getContainer() { return container; } - public void setContainer(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.Container container) { + public void setContainer(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.Container container) { this.container = container; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/Exec.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/Exec.java deleted file mode 100644 index c5dbad79..00000000 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/Exec.java +++ /dev/null @@ -1,25 +0,0 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe; - -@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) -@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) -@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 Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { - - /** - * Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. - */ - @com.fasterxml.jackson.annotation.JsonProperty("command") - @com.fasterxml.jackson.annotation.JsonPropertyDescription("Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List command; - - public java.util.List getCommand() { - return command; - } - - public void setCommand(java.util.List command) { - this.command = command; - } -} - diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/HttpGet.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/HttpGet.java deleted file mode 100644 index 0ae26825..00000000 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/HttpGet.java +++ /dev/null @@ -1,90 +0,0 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe; - -@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) -@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) -@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 HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { - - /** - * Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. - */ - @com.fasterxml.jackson.annotation.JsonProperty("host") - @com.fasterxml.jackson.annotation.JsonPropertyDescription("Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private String host; - - public String getHost() { - return host; - } - - public void setHost(String host) { - this.host = host; - } - - /** - * Custom headers to set in the request. HTTP allows repeated headers. - */ - @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") - @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom headers to set in the request. HTTP allows repeated headers.") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List httpHeaders; - - public java.util.List getHttpHeaders() { - return httpHeaders; - } - - public void setHttpHeaders(java.util.List httpHeaders) { - this.httpHeaders = httpHeaders; - } - - /** - * Path to access on the HTTP server. - */ - @com.fasterxml.jackson.annotation.JsonProperty("path") - @com.fasterxml.jackson.annotation.JsonPropertyDescription("Path to access on the HTTP server.") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private String path; - - public String getPath() { - return path; - } - - public void setPath(String path) { - this.path = path; - } - - /** - * Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. - */ - @com.fasterxml.jackson.annotation.JsonProperty("port") - @io.fabric8.generator.annotation.Required() - @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.fabric8.kubernetes.api.model.IntOrString port; - - public io.fabric8.kubernetes.api.model.IntOrString getPort() { - return port; - } - - public void setPort(io.fabric8.kubernetes.api.model.IntOrString port) { - this.port = port; - } - - /** - * Scheme to use for connecting to the host. Defaults to HTTP. - */ - @com.fasterxml.jackson.annotation.JsonProperty("scheme") - @com.fasterxml.jackson.annotation.JsonPropertyDescription("Scheme to use for connecting to the host. Defaults to HTTP.") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private String scheme; - - public String getScheme() { - return scheme; - } - - public void setScheme(String scheme) { - this.scheme = scheme; - } -} - diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/TcpSocket.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/TcpSocket.java deleted file mode 100644 index 40740a72..00000000 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/TcpSocket.java +++ /dev/null @@ -1,42 +0,0 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe; - -@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) -@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) -@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 TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { - - /** - * Optional: Host name to connect to, defaults to the pod IP. - */ - @com.fasterxml.jackson.annotation.JsonProperty("host") - @com.fasterxml.jackson.annotation.JsonPropertyDescription("Optional: Host name to connect to, defaults to the pod IP.") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private String host; - - public String getHost() { - return host; - } - - public void setHost(String host) { - this.host = host; - } - - /** - * Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. - */ - @com.fasterxml.jackson.annotation.JsonProperty("port") - @io.fabric8.generator.annotation.Required() - @com.fasterxml.jackson.annotation.JsonPropertyDescription("Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.fabric8.kubernetes.api.model.IntOrString port; - - public io.fabric8.kubernetes.api.model.IntOrString getPort() { - return port; - } - - public void setPort(io.fabric8.kubernetes.api.model.IntOrString port) { - this.port = port; - } -} - diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/httpget/HttpHeaders.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/httpget/HttpHeaders.java deleted file mode 100644 index 8f5f0889..00000000 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/httpget/HttpHeaders.java +++ /dev/null @@ -1,43 +0,0 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.httpget; - -@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) -@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) -@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 HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { - - /** - * The header field name - */ - @com.fasterxml.jackson.annotation.JsonProperty("name") - @io.fabric8.generator.annotation.Required() - @com.fasterxml.jackson.annotation.JsonPropertyDescription("The header field name") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private String name; - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - /** - * The header field value - */ - @com.fasterxml.jackson.annotation.JsonProperty("value") - @io.fabric8.generator.annotation.Required() - @com.fasterxml.jackson.annotation.JsonPropertyDescription("The header field value") - @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private String value; - - public String getValue() { - return value; - } - - public void setValue(String value) { - this.value = value; - } -} - diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/Container.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/Container.java similarity index 89% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/Container.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/Container.java index 1259e9e5..c25e1b04 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/Container.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/Container.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resources","securityContext","startupProbe","stdin","stdinOnce","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) @@ -44,13 +44,13 @@ public void setCommand(java.util.List command) { @com.fasterxml.jackson.annotation.JsonProperty("env") @com.fasterxml.jackson.annotation.JsonPropertyDescription("List of environment variables to set in the container. Cannot be updated.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List env; + private java.util.List env; - public java.util.List getEnv() { + public java.util.List getEnv() { return env; } - public void setEnv(java.util.List env) { + public void setEnv(java.util.List env) { this.env = env; } @@ -60,13 +60,13 @@ public void setEnv(java.util.List envFrom; + private java.util.List envFrom; - public java.util.List getEnvFrom() { + public java.util.List getEnvFrom() { return envFrom; } - public void setEnvFrom(java.util.List envFrom) { + public void setEnvFrom(java.util.List envFrom) { this.envFrom = envFrom; } @@ -108,13 +108,13 @@ public void setImagePullPolicy(String imagePullPolicy) { @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Actions that the management system should take in response to container lifecycle events. Cannot be updated.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.Lifecycle lifecycle; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.Lifecycle lifecycle; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.Lifecycle getLifecycle() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.Lifecycle getLifecycle() { return lifecycle; } - public void setLifecycle(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.Lifecycle lifecycle) { + public void setLifecycle(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.Lifecycle lifecycle) { this.lifecycle = lifecycle; } @@ -124,13 +124,13 @@ public void setLifecycle(io.roboscale.robot.v1alpha2.ros2workloadspec.containers @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.LivenessProbe livenessProbe; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.LivenessProbe livenessProbe; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.LivenessProbe getLivenessProbe() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.LivenessProbe getLivenessProbe() { return livenessProbe; } - public void setLivenessProbe(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.LivenessProbe livenessProbe) { + public void setLivenessProbe(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.LivenessProbe livenessProbe) { this.livenessProbe = livenessProbe; } @@ -157,13 +157,13 @@ public void setName(String name) { @com.fasterxml.jackson.annotation.JsonProperty("ports") @com.fasterxml.jackson.annotation.JsonPropertyDescription("List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List ports; + private java.util.List ports; - public java.util.List getPorts() { + public java.util.List getPorts() { return ports; } - public void setPorts(java.util.List ports) { + public void setPorts(java.util.List ports) { this.ports = ports; } @@ -173,13 +173,13 @@ public void setPorts(java.util.List volumeDevices; + private java.util.List volumeDevices; - public java.util.List getVolumeDevices() { + public java.util.List getVolumeDevices() { return volumeDevices; } - public void setVolumeDevices(java.util.List volumeDevices) { + public void setVolumeDevices(java.util.List volumeDevices) { this.volumeDevices = volumeDevices; } @@ -333,13 +333,13 @@ public void setVolumeDevices(java.util.List volumeMounts; + private java.util.List volumeMounts; - public java.util.List getVolumeMounts() { + public java.util.List getVolumeMounts() { return volumeMounts; } - public void setVolumeMounts(java.util.List volumeMounts) { + public void setVolumeMounts(java.util.List volumeMounts) { this.volumeMounts = volumeMounts; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Env.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Env.java similarity index 89% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Env.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Env.java index 794f5f82..d180368b 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Env.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Env.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) @@ -45,13 +45,13 @@ public void setValue(String value) { @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Source for the environment variable's value. Cannot be used if value is not empty.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.ValueFrom valueFrom; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.ValueFrom valueFrom; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.ValueFrom getValueFrom() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.ValueFrom getValueFrom() { return valueFrom; } - public void setValueFrom(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.ValueFrom valueFrom) { + public void setValueFrom(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.ValueFrom valueFrom) { this.valueFrom = valueFrom; } } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/EnvFrom.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/EnvFrom.java similarity index 74% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/EnvFrom.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/EnvFrom.java index 4cc6b642..56c031bc 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/EnvFrom.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/EnvFrom.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) @@ -12,13 +12,13 @@ public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResour @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") @com.fasterxml.jackson.annotation.JsonPropertyDescription("The ConfigMap to select from") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.envfrom.ConfigMapRef configMapRef; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.envfrom.ConfigMapRef configMapRef; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.envfrom.ConfigMapRef getConfigMapRef() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.envfrom.ConfigMapRef getConfigMapRef() { return configMapRef; } - public void setConfigMapRef(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.envfrom.ConfigMapRef configMapRef) { + public void setConfigMapRef(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.envfrom.ConfigMapRef configMapRef) { this.configMapRef = configMapRef; } @@ -44,13 +44,13 @@ public void setPrefix(String prefix) { @com.fasterxml.jackson.annotation.JsonProperty("secretRef") @com.fasterxml.jackson.annotation.JsonPropertyDescription("The Secret to select from") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.envfrom.SecretRef secretRef; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.envfrom.SecretRef secretRef; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.envfrom.SecretRef getSecretRef() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.envfrom.SecretRef getSecretRef() { return secretRef; } - public void setSecretRef(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.envfrom.SecretRef secretRef) { + public void setSecretRef(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.envfrom.SecretRef secretRef) { this.secretRef = secretRef; } } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Lifecycle.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Lifecycle.java similarity index 83% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Lifecycle.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Lifecycle.java index 88e953b3..1695d4e1 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Lifecycle.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Lifecycle.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) @@ -12,13 +12,13 @@ public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesReso @com.fasterxml.jackson.annotation.JsonProperty("postStart") @com.fasterxml.jackson.annotation.JsonPropertyDescription("PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.PostStart postStart; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.PostStart postStart; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.PostStart getPostStart() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.PostStart getPostStart() { return postStart; } - public void setPostStart(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.PostStart postStart) { + public void setPostStart(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.PostStart postStart) { this.postStart = postStart; } @@ -28,13 +28,13 @@ public void setPostStart(io.roboscale.robot.v1alpha2.ros2workloadspec.containers @com.fasterxml.jackson.annotation.JsonProperty("preStop") @com.fasterxml.jackson.annotation.JsonPropertyDescription("PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.PreStop preStop; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.PreStop preStop; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.PreStop getPreStop() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.PreStop getPreStop() { return preStop; } - public void setPreStop(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.PreStop preStop) { + public void setPreStop(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.PreStop preStop) { this.preStop = preStop; } } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/LivenessProbe.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/LivenessProbe.java similarity index 87% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/LivenessProbe.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/LivenessProbe.java index 8f57d9b9..89129e3c 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/LivenessProbe.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/LivenessProbe.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) @@ -12,13 +12,13 @@ public class LivenessProbe implements io.fabric8.kubernetes.api.model.Kubernetes @com.fasterxml.jackson.annotation.JsonProperty("exec") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Exec specifies the action to take.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.Exec exec; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.Exec exec; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.Exec getExec() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.Exec getExec() { return exec; } - public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.Exec exec) { + public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.Exec exec) { this.exec = exec; } @@ -44,13 +44,13 @@ public void setFailureThreshold(Integer failureThreshold) { @com.fasterxml.jackson.annotation.JsonProperty("grpc") @com.fasterxml.jackson.annotation.JsonPropertyDescription("GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.Grpc grpc; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.Grpc grpc; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.Grpc getGrpc() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.Grpc getGrpc() { return grpc; } - public void setGrpc(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.Grpc grpc) { + public void setGrpc(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.Grpc grpc) { this.grpc = grpc; } @@ -60,13 +60,13 @@ public void setGrpc(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.cont @com.fasterxml.jackson.annotation.JsonProperty("httpGet") @com.fasterxml.jackson.annotation.JsonPropertyDescription("HTTPGet specifies the http request to perform.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.HttpGet httpGet; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.HttpGet httpGet; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.HttpGet getHttpGet() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.HttpGet getHttpGet() { return httpGet; } - public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.HttpGet httpGet) { + public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.HttpGet httpGet) { this.httpGet = httpGet; } @@ -124,13 +124,13 @@ public void setSuccessThreshold(Integer successThreshold) { @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") @com.fasterxml.jackson.annotation.JsonPropertyDescription("TCPSocket specifies an action involving a TCP port.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.TcpSocket tcpSocket; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.TcpSocket tcpSocket; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.TcpSocket getTcpSocket() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.TcpSocket getTcpSocket() { return tcpSocket; } - public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.TcpSocket tcpSocket) { + public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.TcpSocket tcpSocket) { this.tcpSocket = tcpSocket; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Ports.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Ports.java similarity index 97% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Ports.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Ports.java index a38abcdb..c83e4b12 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Ports.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Ports.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/ReadinessProbe.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/ReadinessProbe.java similarity index 87% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/ReadinessProbe.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/ReadinessProbe.java index a61f01e8..5febe5c8 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/ReadinessProbe.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/ReadinessProbe.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) @@ -12,13 +12,13 @@ public class ReadinessProbe implements io.fabric8.kubernetes.api.model.Kubernete @com.fasterxml.jackson.annotation.JsonProperty("exec") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Exec specifies the action to take.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.Exec exec; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.Exec exec; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.Exec getExec() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.Exec getExec() { return exec; } - public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.Exec exec) { + public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.Exec exec) { this.exec = exec; } @@ -44,13 +44,13 @@ public void setFailureThreshold(Integer failureThreshold) { @com.fasterxml.jackson.annotation.JsonProperty("grpc") @com.fasterxml.jackson.annotation.JsonPropertyDescription("GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.Grpc grpc; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.Grpc grpc; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.Grpc getGrpc() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.Grpc getGrpc() { return grpc; } - public void setGrpc(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.Grpc grpc) { + public void setGrpc(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.Grpc grpc) { this.grpc = grpc; } @@ -60,13 +60,13 @@ public void setGrpc(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.cont @com.fasterxml.jackson.annotation.JsonProperty("httpGet") @com.fasterxml.jackson.annotation.JsonPropertyDescription("HTTPGet specifies the http request to perform.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.HttpGet httpGet; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.HttpGet httpGet; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.HttpGet getHttpGet() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.HttpGet getHttpGet() { return httpGet; } - public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.HttpGet httpGet) { + public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.HttpGet httpGet) { this.httpGet = httpGet; } @@ -124,13 +124,13 @@ public void setSuccessThreshold(Integer successThreshold) { @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") @com.fasterxml.jackson.annotation.JsonPropertyDescription("TCPSocket specifies an action involving a TCP port.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.TcpSocket tcpSocket; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.TcpSocket tcpSocket; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.TcpSocket getTcpSocket() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.TcpSocket getTcpSocket() { return tcpSocket; } - public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.TcpSocket tcpSocket) { + public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.TcpSocket tcpSocket) { this.tcpSocket = tcpSocket; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Resources.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Resources.java similarity index 92% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Resources.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Resources.java index 0b3efdba..1ec00faf 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/Resources.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/Resources.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) @@ -14,13 +14,13 @@ public class Resources implements io.fabric8.kubernetes.api.model.KubernetesReso @com.fasterxml.jackson.annotation.JsonProperty("claims") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List claims; + private java.util.List claims; - public java.util.List getClaims() { + public java.util.List getClaims() { return claims; } - public void setClaims(java.util.List claims) { + public void setClaims(java.util.List claims) { this.claims = claims; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/SecurityContext.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/SecurityContext.java similarity index 88% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/SecurityContext.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/SecurityContext.java index 1395497b..5ddbd97d 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/SecurityContext.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/SecurityContext.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) @@ -28,13 +28,13 @@ public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { @com.fasterxml.jackson.annotation.JsonProperty("capabilities") @com.fasterxml.jackson.annotation.JsonPropertyDescription("The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.Capabilities capabilities; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.Capabilities capabilities; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.Capabilities getCapabilities() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.Capabilities getCapabilities() { return capabilities; } - public void setCapabilities(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.Capabilities capabilities) { + public void setCapabilities(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.Capabilities capabilities) { this.capabilities = capabilities; } @@ -140,13 +140,13 @@ public void setRunAsUser(Long runAsUser) { @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") @com.fasterxml.jackson.annotation.JsonPropertyDescription("The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.SeLinuxOptions seLinuxOptions; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.SeLinuxOptions seLinuxOptions; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.SeLinuxOptions getSeLinuxOptions() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.SeLinuxOptions getSeLinuxOptions() { return seLinuxOptions; } - public void setSeLinuxOptions(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.SeLinuxOptions seLinuxOptions) { + public void setSeLinuxOptions(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.SeLinuxOptions seLinuxOptions) { this.seLinuxOptions = seLinuxOptions; } @@ -156,13 +156,13 @@ public void setSeLinuxOptions(io.roboscale.robot.v1alpha2.ros2workloadspec.conta @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") @com.fasterxml.jackson.annotation.JsonPropertyDescription("The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.SeccompProfile seccompProfile; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.SeccompProfile seccompProfile; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.SeccompProfile getSeccompProfile() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.SeccompProfile getSeccompProfile() { return seccompProfile; } - public void setSeccompProfile(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.SeccompProfile seccompProfile) { + public void setSeccompProfile(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.SeccompProfile seccompProfile) { this.seccompProfile = seccompProfile; } @@ -172,13 +172,13 @@ public void setSeccompProfile(io.roboscale.robot.v1alpha2.ros2workloadspec.conta @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") @com.fasterxml.jackson.annotation.JsonPropertyDescription("The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.WindowsOptions windowsOptions; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.WindowsOptions windowsOptions; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.WindowsOptions getWindowsOptions() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.WindowsOptions getWindowsOptions() { return windowsOptions; } - public void setWindowsOptions(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext.WindowsOptions windowsOptions) { + public void setWindowsOptions(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext.WindowsOptions windowsOptions) { this.windowsOptions = windowsOptions; } } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/StartupProbe.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/StartupProbe.java similarity index 87% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/StartupProbe.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/StartupProbe.java index 94bbdbad..fe575d9d 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/StartupProbe.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/StartupProbe.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) @@ -12,13 +12,13 @@ public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesR @com.fasterxml.jackson.annotation.JsonProperty("exec") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Exec specifies the action to take.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.Exec exec; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.Exec exec; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.Exec getExec() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.Exec getExec() { return exec; } - public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.Exec exec) { + public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.Exec exec) { this.exec = exec; } @@ -44,13 +44,13 @@ public void setFailureThreshold(Integer failureThreshold) { @com.fasterxml.jackson.annotation.JsonProperty("grpc") @com.fasterxml.jackson.annotation.JsonPropertyDescription("GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.Grpc grpc; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.Grpc grpc; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.Grpc getGrpc() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.Grpc getGrpc() { return grpc; } - public void setGrpc(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.Grpc grpc) { + public void setGrpc(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.Grpc grpc) { this.grpc = grpc; } @@ -60,13 +60,13 @@ public void setGrpc(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.cont @com.fasterxml.jackson.annotation.JsonProperty("httpGet") @com.fasterxml.jackson.annotation.JsonPropertyDescription("HTTPGet specifies the http request to perform.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.HttpGet httpGet; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.HttpGet httpGet; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.HttpGet getHttpGet() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.HttpGet getHttpGet() { return httpGet; } - public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.HttpGet httpGet) { + public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.HttpGet httpGet) { this.httpGet = httpGet; } @@ -124,13 +124,13 @@ public void setSuccessThreshold(Integer successThreshold) { @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") @com.fasterxml.jackson.annotation.JsonPropertyDescription("TCPSocket specifies an action involving a TCP port.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.TcpSocket tcpSocket; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.TcpSocket tcpSocket; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.TcpSocket getTcpSocket() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.TcpSocket getTcpSocket() { return tcpSocket; } - public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe.TcpSocket tcpSocket) { + public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.TcpSocket tcpSocket) { this.tcpSocket = tcpSocket; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/VolumeDevices.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/VolumeDevices.java similarity index 95% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/VolumeDevices.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/VolumeDevices.java index 544b706b..7719b5fe 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/VolumeDevices.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/VolumeDevices.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/VolumeMounts.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/VolumeMounts.java similarity index 98% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/VolumeMounts.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/VolumeMounts.java index 48825ebd..55d272ef 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/VolumeMounts.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/VolumeMounts.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/ValueFrom.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/ValueFrom.java similarity index 68% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/ValueFrom.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/ValueFrom.java index 4f077869..f9cee255 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/ValueFrom.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/ValueFrom.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) @@ -12,13 +12,13 @@ public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesReso @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Selects a key of a ConfigMap.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.ConfigMapKeyRef configMapKeyRef; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { return configMapKeyRef; } - public void setConfigMapKeyRef(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + public void setConfigMapKeyRef(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { this.configMapKeyRef = configMapKeyRef; } @@ -28,13 +28,13 @@ public void setConfigMapKeyRef(io.roboscale.robot.v1alpha2.ros2workloadspec.cont @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.FieldRef fieldRef; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.FieldRef fieldRef; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.FieldRef getFieldRef() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.FieldRef getFieldRef() { return fieldRef; } - public void setFieldRef(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.FieldRef fieldRef) { + public void setFieldRef(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.FieldRef fieldRef) { this.fieldRef = fieldRef; } @@ -44,13 +44,13 @@ public void setFieldRef(io.roboscale.robot.v1alpha2.ros2workloadspec.containers. @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.ResourceFieldRef resourceFieldRef; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.ResourceFieldRef resourceFieldRef; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.ResourceFieldRef getResourceFieldRef() { return resourceFieldRef; } - public void setResourceFieldRef(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.ResourceFieldRef resourceFieldRef) { + public void setResourceFieldRef(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.ResourceFieldRef resourceFieldRef) { this.resourceFieldRef = resourceFieldRef; } @@ -60,13 +60,13 @@ public void setResourceFieldRef(io.roboscale.robot.v1alpha2.ros2workloadspec.con @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Selects a key of a secret in the pod's namespace") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.SecretKeyRef secretKeyRef; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.SecretKeyRef secretKeyRef; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.SecretKeyRef getSecretKeyRef() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.SecretKeyRef getSecretKeyRef() { return secretKeyRef; } - public void setSecretKeyRef(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom.SecretKeyRef secretKeyRef) { + public void setSecretKeyRef(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom.SecretKeyRef secretKeyRef) { this.secretKeyRef = secretKeyRef; } } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/ConfigMapKeyRef.java similarity index 95% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/ConfigMapKeyRef.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/ConfigMapKeyRef.java index 22f34d41..9fd227e1 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/ConfigMapKeyRef.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/ConfigMapKeyRef.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/FieldRef.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/FieldRef.java similarity index 94% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/FieldRef.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/FieldRef.java index 20b87900..4f97acd9 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/FieldRef.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/FieldRef.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/ResourceFieldRef.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/ResourceFieldRef.java similarity index 96% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/ResourceFieldRef.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/ResourceFieldRef.java index 2f90d6f3..3893a67f 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/ResourceFieldRef.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/ResourceFieldRef.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/SecretKeyRef.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/SecretKeyRef.java similarity index 96% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/SecretKeyRef.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/SecretKeyRef.java index 1eaa526d..13d94ee4 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/env/valuefrom/SecretKeyRef.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/env/valuefrom/SecretKeyRef.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.env.valuefrom; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.env.valuefrom; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/envfrom/ConfigMapRef.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/envfrom/ConfigMapRef.java similarity index 95% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/envfrom/ConfigMapRef.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/envfrom/ConfigMapRef.java index 26cd9b5c..74e19674 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/envfrom/ConfigMapRef.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/envfrom/ConfigMapRef.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.envfrom; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.envfrom; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/envfrom/SecretRef.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/envfrom/SecretRef.java similarity index 95% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/envfrom/SecretRef.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/envfrom/SecretRef.java index b1a9ae84..74e2d844 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/envfrom/SecretRef.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/envfrom/SecretRef.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.envfrom; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.envfrom; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/PostStart.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/PostStart.java similarity index 68% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/PostStart.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/PostStart.java index 2f8082f7..a01727c3 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/PostStart.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/PostStart.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) @@ -12,13 +12,13 @@ public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesReso @com.fasterxml.jackson.annotation.JsonProperty("exec") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Exec specifies the action to take.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.Exec exec; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.Exec exec; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.Exec getExec() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.Exec getExec() { return exec; } - public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.Exec exec) { + public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.Exec exec) { this.exec = exec; } @@ -28,13 +28,13 @@ public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.cont @com.fasterxml.jackson.annotation.JsonProperty("httpGet") @com.fasterxml.jackson.annotation.JsonPropertyDescription("HTTPGet specifies the http request to perform.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.HttpGet httpGet; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.HttpGet httpGet; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.HttpGet getHttpGet() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.HttpGet getHttpGet() { return httpGet; } - public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.HttpGet httpGet) { + public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.HttpGet httpGet) { this.httpGet = httpGet; } @@ -44,13 +44,13 @@ public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.c @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.TcpSocket tcpSocket; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.TcpSocket tcpSocket; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.TcpSocket getTcpSocket() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.TcpSocket getTcpSocket() { return tcpSocket; } - public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.TcpSocket tcpSocket) { + public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.TcpSocket tcpSocket) { this.tcpSocket = tcpSocket; } } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/PreStop.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/PreStop.java similarity index 68% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/PreStop.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/PreStop.java index c20313a0..18f52ddb 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/PreStop.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/PreStop.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) @@ -12,13 +12,13 @@ public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResour @com.fasterxml.jackson.annotation.JsonProperty("exec") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Exec specifies the action to take.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.Exec exec; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.Exec exec; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.Exec getExec() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.Exec getExec() { return exec; } - public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.Exec exec) { + public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.Exec exec) { this.exec = exec; } @@ -28,13 +28,13 @@ public void setExec(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.cont @com.fasterxml.jackson.annotation.JsonProperty("httpGet") @com.fasterxml.jackson.annotation.JsonPropertyDescription("HTTPGet specifies the http request to perform.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.HttpGet httpGet; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.HttpGet httpGet; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.HttpGet getHttpGet() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.HttpGet getHttpGet() { return httpGet; } - public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.HttpGet httpGet) { + public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.HttpGet httpGet) { this.httpGet = httpGet; } @@ -44,13 +44,13 @@ public void setHttpGet(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.c @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.TcpSocket tcpSocket; + private io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.TcpSocket tcpSocket; - public io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.TcpSocket getTcpSocket() { + public io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.TcpSocket getTcpSocket() { return tcpSocket; } - public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.TcpSocket tcpSocket) { + public void setTcpSocket(io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.TcpSocket tcpSocket) { this.tcpSocket = tcpSocket; } } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/Exec.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..55aa9100 --- /dev/null +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/Exec.java @@ -0,0 +1,25 @@ +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@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 Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + */ + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/HttpGet.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..ed6fdfe7 --- /dev/null +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/HttpGet.java @@ -0,0 +1,90 @@ +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@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 HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. + */ + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + /** + * Custom headers to set in the request. HTTP allows repeated headers. + */ + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom headers to set in the request. HTTP allows repeated headers.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + /** + * Path to access on the HTTP server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Path to access on the HTTP server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + /** + * Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + */ + @com.fasterxml.jackson.annotation.JsonProperty("port") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private io.fabric8.kubernetes.api.model.IntOrString port; + + public io.fabric8.kubernetes.api.model.IntOrString getPort() { + return port; + } + + public void setPort(io.fabric8.kubernetes.api.model.IntOrString port) { + this.port = port; + } + + /** + * Scheme to use for connecting to the host. Defaults to HTTP. + */ + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Scheme to use for connecting to the host. Defaults to HTTP.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/TcpSocket.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..20d52bde --- /dev/null +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,42 @@ +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@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 TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Optional: Host name to connect to, defaults to the pod IP. + */ + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Optional: Host name to connect to, defaults to the pod IP.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + /** + * Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + */ + @com.fasterxml.jackson.annotation.JsonProperty("port") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private io.fabric8.kubernetes.api.model.IntOrString port; + + public io.fabric8.kubernetes.api.model.IntOrString getPort() { + return port; + } + + public void setPort(io.fabric8.kubernetes.api.model.IntOrString port) { + this.port = port; + } +} + diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..fa3b6dff --- /dev/null +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,43 @@ +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@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 HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The header field name + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The header field name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * The header field value + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The header field value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/Exec.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/Exec.java similarity index 94% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/Exec.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/Exec.java index 2ee6cce6..f73ee930 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/Exec.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/Exec.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/HttpGet.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/HttpGet.java similarity index 90% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/HttpGet.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/HttpGet.java index aea72ad5..1239496e 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/HttpGet.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/HttpGet.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) @@ -28,13 +28,13 @@ public void setHost(String host) { @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom headers to set in the request. HTTP allows repeated headers.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List httpHeaders; + private java.util.List httpHeaders; - public java.util.List getHttpHeaders() { + public java.util.List getHttpHeaders() { return httpHeaders; } - public void setHttpHeaders(java.util.List httpHeaders) { + public void setHttpHeaders(java.util.List httpHeaders) { this.httpHeaders = httpHeaders; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/TcpSocket.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/TcpSocket.java similarity index 94% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/TcpSocket.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/TcpSocket.java index f998c422..9b62a9b6 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/TcpSocket.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/TcpSocket.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/httpget/HttpHeaders.java similarity index 93% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/httpget/HttpHeaders.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/httpget/HttpHeaders.java index 73bc0f33..91fef3a0 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/httpget/HttpHeaders.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/lifecycle/prestop/httpget/HttpHeaders.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop.httpget; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.lifecycle.prestop.httpget; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/Exec.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/Exec.java similarity index 94% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/Exec.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/Exec.java index 75830335..3e5ab550 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/Exec.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/Exec.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/Grpc.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/Grpc.java similarity index 95% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/Grpc.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/Grpc.java index 994e577e..663d2d6b 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/Grpc.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/Grpc.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/HttpGet.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/HttpGet.java similarity index 91% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/HttpGet.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/HttpGet.java index c491b560..ab0077dd 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/HttpGet.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/HttpGet.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) @@ -28,13 +28,13 @@ public void setHost(String host) { @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom headers to set in the request. HTTP allows repeated headers.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List httpHeaders; + private java.util.List httpHeaders; - public java.util.List getHttpHeaders() { + public java.util.List getHttpHeaders() { return httpHeaders; } - public void setHttpHeaders(java.util.List httpHeaders) { + public void setHttpHeaders(java.util.List httpHeaders) { this.httpHeaders = httpHeaders; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/TcpSocket.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/TcpSocket.java similarity index 95% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/TcpSocket.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/TcpSocket.java index ca383ccc..54360b14 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/TcpSocket.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/TcpSocket.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/httpget/HttpHeaders.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/httpget/HttpHeaders.java similarity index 93% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/httpget/HttpHeaders.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/httpget/HttpHeaders.java index d4e65f2b..142ee816 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/httpget/HttpHeaders.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/livenessprobe/httpget/HttpHeaders.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe.httpget; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.livenessprobe.httpget; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/Exec.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/Exec.java similarity index 94% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/Exec.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/Exec.java index b7deff95..1125a22b 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/Exec.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/Exec.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/Grpc.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/Grpc.java similarity index 95% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/Grpc.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/Grpc.java index 138db7c0..8689ad81 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/startupprobe/Grpc.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/Grpc.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.startupprobe; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/HttpGet.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/HttpGet.java similarity index 90% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/HttpGet.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/HttpGet.java index c6b756ee..88b90fd8 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/HttpGet.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/HttpGet.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) @@ -28,13 +28,13 @@ public void setHost(String host) { @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom headers to set in the request. HTTP allows repeated headers.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List httpHeaders; + private java.util.List httpHeaders; - public java.util.List getHttpHeaders() { + public java.util.List getHttpHeaders() { return httpHeaders; } - public void setHttpHeaders(java.util.List httpHeaders) { + public void setHttpHeaders(java.util.List httpHeaders) { this.httpHeaders = httpHeaders; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/TcpSocket.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/TcpSocket.java similarity index 94% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/TcpSocket.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/TcpSocket.java index 14a91aba..84b980e7 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/prestop/TcpSocket.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/TcpSocket.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.prestop; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/httpget/HttpHeaders.java similarity index 93% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/httpget/HttpHeaders.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/httpget/HttpHeaders.java index 1ebc5dce..60c14805 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/lifecycle/poststart/httpget/HttpHeaders.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/readinessprobe/httpget/HttpHeaders.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.lifecycle.poststart.httpget; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.readinessprobe.httpget; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/resources/Claims.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/resources/Claims.java similarity index 93% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/resources/Claims.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/resources/Claims.java index 9b42be49..f1bdda67 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/resources/Claims.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/resources/Claims.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.resources; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.resources; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/Capabilities.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/Capabilities.java similarity index 93% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/Capabilities.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/Capabilities.java index 2474786d..1f60d8b4 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/Capabilities.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/Capabilities.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/SeLinuxOptions.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/SeLinuxOptions.java similarity index 96% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/SeLinuxOptions.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/SeLinuxOptions.java index fe480c91..67359f85 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/SeLinuxOptions.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/SeLinuxOptions.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/SeccompProfile.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/SeccompProfile.java similarity index 96% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/SeccompProfile.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/SeccompProfile.java index 2fd30ca8..2d6948b2 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/SeccompProfile.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/SeccompProfile.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/WindowsOptions.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/WindowsOptions.java similarity index 98% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/WindowsOptions.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/WindowsOptions.java index b0fb3f45..eb30854d 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/securitycontext/WindowsOptions.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/securitycontext/WindowsOptions.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.securitycontext; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.securitycontext; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/Exec.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/Exec.java similarity index 94% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/Exec.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/Exec.java index e76413c9..35b992c5 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/Exec.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/Exec.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/Grpc.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/Grpc.java similarity index 95% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/Grpc.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/Grpc.java index d4d579bb..b1802da3 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/Grpc.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/Grpc.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/HttpGet.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/HttpGet.java similarity index 90% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/HttpGet.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/HttpGet.java index 2806c511..fd228b58 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/livenessprobe/HttpGet.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/HttpGet.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.livenessprobe; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) @@ -28,13 +28,13 @@ public void setHost(String host) { @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom headers to set in the request. HTTP allows repeated headers.") @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) - private java.util.List httpHeaders; + private java.util.List httpHeaders; - public java.util.List getHttpHeaders() { + public java.util.List getHttpHeaders() { return httpHeaders; } - public void setHttpHeaders(java.util.List httpHeaders) { + public void setHttpHeaders(java.util.List httpHeaders) { this.httpHeaders = httpHeaders; } diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/TcpSocket.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/TcpSocket.java similarity index 95% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/TcpSocket.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/TcpSocket.java index d9154a3c..7f105ee6 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/TcpSocket.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/TcpSocket.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) diff --git a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/httpget/HttpHeaders.java b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/httpget/HttpHeaders.java similarity index 93% rename from src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/httpget/HttpHeaders.java rename to src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/httpget/HttpHeaders.java index f06fa959..7355334a 100644 --- a/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/containers/container/readinessprobe/httpget/HttpHeaders.java +++ b/src/main/java/io/roboscale/robot/v1alpha2/ros2workloadspec/launchcontainers/container/startupprobe/httpget/HttpHeaders.java @@ -1,4 +1,4 @@ -package io.roboscale.robot.v1alpha2.ros2workloadspec.containers.container.readinessprobe.httpget; +package io.roboscale.robot.v1alpha2.ros2workloadspec.launchcontainers.container.startupprobe.httpget; @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) @com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"})