Skip to content

Commit

Permalink
build(ci): generate fabric8 models 0.1.0-alpha.34 for robot.roboscale…
Browse files Browse the repository at this point in the history
….io v0.2.7-alpha.7.3, fleet.roboscale.io v0.1.6-alpha.18 and connection-hub.roboscale.io v0.1.8-alpha.5
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Nov 11, 2024
1 parent f488714 commit 3485868
Show file tree
Hide file tree
Showing 244 changed files with 6,976 additions and 4,817 deletions.
279 changes: 147 additions & 132 deletions crds/base/robot.roboscale.io_buildmanagers.yaml

Large diffs are not rendered by default.

2,066 changes: 1,071 additions & 995 deletions crds/base/robot.roboscale.io_codeeditors.yaml

Large diffs are not rendered by default.

200 changes: 106 additions & 94 deletions crds/base/robot.roboscale.io_launchmanagers.yaml

Large diffs are not rendered by default.

204 changes: 120 additions & 84 deletions crds/base/robot.roboscale.io_metricsexporters.yaml

Large diffs are not rendered by default.

1,667 changes: 873 additions & 794 deletions crds/base/robot.roboscale.io_robots.yaml

Large diffs are not rendered by default.

196 changes: 114 additions & 82 deletions crds/base/robot.roboscale.io_ros2bridges.yaml

Large diffs are not rendered by default.

2,009 changes: 1,036 additions & 973 deletions crds/base/robot.roboscale.io_ros2workloads.yaml

Large diffs are not rendered by default.

125 changes: 73 additions & 52 deletions crds/base/robot.roboscale.io_workspacemanagers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.14.0
name: workspacemanagers.robot.roboscale.io
spec:
group: robot.roboscale.io
Expand Down Expand Up @@ -32,32 +31,39 @@ spec:
by executing Kubernetes jobs.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: Specification of the desired behavior of the WorkspaceManager.
properties:
updateNeeded:
description: WorkspaceManager is triggered if this field is set to
`true`. Then the workspaces are being configured again while backing
up the old configurations. This field is often used by operator.
description: |-
WorkspaceManager is triggered if this field is set to `true`.
Then the workspaces are being configured again while backing up the old configurations.
This field is often used by operator.
type: boolean
workspaces:
description: Workspace definitions of robot. Multiple ROS 2 workspaces
can be configured over this field.
description: |-
Workspace definitions of robot.
Multiple ROS 2 workspaces can be configured over this field.
items:
description: Workspace description. Each robot should contain at
least one workspace. A workspace should contain at least one repository
in it.
description: |-
Workspace description. Each robot should contain at least one workspace. A workspace should contain at least one
repository in it.
properties:
distro:
description: ROS 2 distribution selection. Currently supported
Expand Down Expand Up @@ -133,33 +139,40 @@ spec:
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.'
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'
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'
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/'
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'
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'
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
Expand All @@ -182,33 +195,40 @@ spec:
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.'
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'
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'
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/'
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'
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'
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
Expand All @@ -219,8 +239,9 @@ spec:
description: Phase of WorkspaceManager.
type: string
version:
description: Incremental version of workspace configuration map. Used
to determine changes in configuration.
description: |-
Incremental version of workspace configuration map.
Used to determine changes in configuration.
type: integer
type: object
type: object
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.roboscale.robot</groupId>
<artifactId>robot-fabric8-client</artifactId>
<version>0.1.0-alpha.33</version>
<version>0.1.0-alpha.34</version>
<name>robot-fabric8-client</name>
<url>https://robolaunch.io</url>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ public void setPhase(String phase) {
}

/**
* Status of the ConfigMap that holds scripts. If a script is specified inside `.spec.steps[k]`, they are mounted to the step jobs via this ConfigMap.
* Status of the ConfigMap that holds scripts.
* If a script is specified inside `.spec.steps[k]`, they are mounted to the step jobs via this ConfigMap.
*/
@com.fasterxml.jackson.annotation.JsonProperty("scriptConfigMapStatus")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Status of the ConfigMap that holds scripts. If a script is specified inside `.spec.steps[k]`, they are mounted to the step jobs via this ConfigMap.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Status of the ConfigMap that holds scripts.\nIf a script is specified inside `.spec.steps[k]`, they are mounted to the step jobs via this ConfigMap.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha1.buildmanagerstatus.ScriptConfigMapStatus scriptConfigMapStatus;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
public class LaunchManagerSpec implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* Launch descriptions. Every object defined here generates a launching command in the specified workspace.
* Launch descriptions.
* Every object defined here generates a launching command in the specified workspace.
*/
@com.fasterxml.jackson.annotation.JsonProperty("launches")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Launch descriptions. Every object defined here generates a launching command in the specified workspace.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Launch descriptions.\nEvery object defined here generates a launching command in the specified workspace.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.Map<java.lang.String, io.roboscale.robot.v1alpha1.launchmanagerspec.Launches> launches;

Expand Down
21 changes: 13 additions & 8 deletions src/main/java/io/roboscale/robot/v1alpha1/RobotSpec.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ public void setAdditionalConfigs(java.util.Map<java.lang.String, io.roboscale.ro
}

/**
* Holds environment's configuration. Applied if `.spec.type` is `Environment` and must be `nil` otherwise.
* Holds environment's configuration.
* Applied if `.spec.type` is `Environment` and must be `nil` otherwise.
*/
@com.fasterxml.jackson.annotation.JsonProperty("environment")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Holds environment's configuration. Applied if `.spec.type` is `Environment` and must be `nil` otherwise.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Holds environment's configuration.\nApplied if `.spec.type` is `Environment` and must be `nil` otherwise.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha1.robotspec.Environment environment;

Expand All @@ -39,10 +40,11 @@ public void setEnvironment(io.roboscale.robot.v1alpha1.robotspec.Environment env
}

/**
* Holds robot's configuration. Applied if `.spec.type` is `Robot` and must be `nil` otherwise.
* Holds robot's configuration.
* Applied if `.spec.type` is `Robot` and must be `nil` otherwise.
*/
@com.fasterxml.jackson.annotation.JsonProperty("robot")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Holds robot's configuration. Applied if `.spec.type` is `Robot` and must be `nil` otherwise.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Holds robot's configuration.\nApplied if `.spec.type` is `Robot` and must be `nil` otherwise.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha1.robotspec.Robot robot;

Expand Down Expand Up @@ -87,10 +89,11 @@ public void setRootDNSConfig(io.roboscale.robot.v1alpha1.robotspec.RootDNSConfig
}

/**
* Total storage amount to persist via Robot. Unit of measurement is MB. (eg. `10240` corresponds 10 GB) This amount is being shared between different components.
* Total storage amount to persist via Robot. Unit of measurement is MB. (eg. `10240` corresponds 10 GB)
* This amount is being shared between different components.
*/
@com.fasterxml.jackson.annotation.JsonProperty("storage")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Total storage amount to persist via Robot. Unit of measurement is MB. (eg. `10240` corresponds 10 GB) This amount is being shared between different components.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Total storage amount to persist via Robot. Unit of measurement is MB. (eg. `10240` corresponds 10 GB)\nThis amount is being shared between different components.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha1.robotspec.Storage storage;

Expand Down Expand Up @@ -119,10 +122,12 @@ public void setTlsSecretRef(io.roboscale.robot.v1alpha1.robotspec.TlsSecretRef t
}

/**
* Determines the object type. If "Environment", operator will provision an environment according to the specifications. (`.spec.environment`) If "Robot", operator will provision an environment specialized for ROS 2 according to the specifications. (`.spec.robot`)
* Determines the object type.
* If "Environment", operator will provision an environment according to the specifications. (`.spec.environment`)
* If "Robot", operator will provision an environment specialized for ROS 2 according to the specifications. (`.spec.robot`)
*/
@com.fasterxml.jackson.annotation.JsonProperty("type")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Determines the object type. If \"Environment\", operator will provision an environment according to the specifications. (`.spec.environment`) If \"Robot\", operator will provision an environment specialized for ROS 2 according to the specifications. (`.spec.robot`)")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Determines the object type.\nIf \"Environment\", operator will provision an environment according to the specifications. (`.spec.environment`)\nIf \"Robot\", operator will provision an environment specialized for ROS 2 according to the specifications. (`.spec.robot`)")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String type;

Expand Down
Loading

0 comments on commit 3485868

Please sign in to comment.