Skip to content

Commit

Permalink
build(ci): generate fabric8 models 0.1.0-alpha.18 for robot.roboscale…
Browse files Browse the repository at this point in the history
….io v0.2.6-alpha.14.9, fleet.roboscale.io v0.1.6-alpha.14 and connection-hub.roboscale.io v0.1.7-alpha.10
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Jan 2, 2024
1 parent 337f7d4 commit bf3af15
Show file tree
Hide file tree
Showing 13 changed files with 878 additions and 4 deletions.
188 changes: 188 additions & 0 deletions crds/base/robot.roboscale.io_robots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,59 @@ spec:
description: If `true`, a Cloud IDE will be provisioned inside
development suite.
type: boolean
notebookEnabled:
description: If `true`, a Notebook will be provisioned inside
development suite.
type: boolean
notebookTemplate:
description: Configurational parameters of Notebook. Applied if
`.spec.notebookEnabled` is set to `true`.
properties:
display:
description: Notebook connects an X11 socket if it's set to
`true` and a target Notebook resource is set in labels with
key `robolaunch.io/target-vdi`. Applications that requires
GUI can be executed such as VLC.
type: boolean
ingress:
description: '[*alpha*] Notebook will create an Ingress resource
if `true`.'
type: boolean
privileged:
description: If `true`, containers of Notebook will be privileged
containers. It can be used in physical instances where it's
necessary to access I/O devices on the host machine. Not
recommended to activate this field on cloud instances.
type: boolean
resources:
description: Resource limitations of Notebook.
properties:
cpu:
description: CPU resource limit.
pattern: ^([0-9])+(m)$
type: string
gpuCore:
description: GPU core number that will be allocated.
type: integer
gpuInstance:
default: nvidia.com/gpu
description: GPU instance that will be allocated. eg.
nvidia.com/mig-1g.5gb. Defaults to "nvidia.com/gpu".
type: string
memory:
description: Memory resource limit.
pattern: ^([0-9])+(Mi|Gi)$
type: string
type: object
serviceType:
default: NodePort
description: Service type of Notebook. `ClusterIP` and `NodePort`
is supported.
enum:
- ClusterIP
- NodePort
type: string
type: object
remoteIDEEnabled:
description: If `true`, a relay server for remote Cloud IDE will
be provisioned inside development suite.
Expand Down Expand Up @@ -943,6 +996,74 @@ spec:
description: '[*alpha*] Indicates if RobotDevSuite is attached
to a Robot and actively provisioned it''s resources.'
type: boolean
notebookStatus:
description: Status of Notebook.
properties:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: object
resource:
description: Generic status for any owned resource.
properties:
created:
description: Shows if the owned resource is created.
type: boolean
phase:
description: Phase of the owned resource.
type: string
reference:
description: Reference to the owned resource.
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
required:
- created
type: object
type: object
phase:
description: Phase of RobotDevSuite.
type: string
Expand Down Expand Up @@ -1961,6 +2082,73 @@ spec:
description: '[*alpha*] Indicates if RobotDevSuite is attached
to a Robot and actively provisioned it''s resources.'
type: boolean
notebookStatus:
description: Status of Notebook.
properties:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: object
resource:
description: Generic status for any owned resource.
properties:
created:
description: Shows if the owned resource is created.
type: boolean
phase:
description: Phase of the owned resource.
type: string
reference:
description: Reference to the owned resource.
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
required:
- created
type: object
type: object
phase:
description: Phase of RobotDevSuite.
type: string
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.17</version>
<version>0.1.0-alpha.18</version>
<name>robot-fabric8-client</name>
<url>https://robolaunch.io</url>
<properties>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.roboscale.robot.v1alpha1.robotspec;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"ideEnabled","remoteIDEEnabled","remoteIDERelayServerTemplate","robotIDETemplate","robotVDITemplate","vdiEnabled"})
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"ideEnabled","notebookEnabled","notebookTemplate","remoteIDEEnabled","remoteIDERelayServerTemplate","robotIDETemplate","robotVDITemplate","vdiEnabled"})
@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 RobotDevSuiteTemplate implements io.fabric8.kubernetes.api.model.KubernetesResource {
Expand All @@ -22,6 +22,38 @@ public void setIdeEnabled(Boolean ideEnabled) {
this.ideEnabled = ideEnabled;
}

/**
* If `true`, a Notebook will be provisioned inside development suite.
*/
@com.fasterxml.jackson.annotation.JsonProperty("notebookEnabled")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("If `true`, a Notebook will be provisioned inside development suite.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private Boolean notebookEnabled;

public Boolean getNotebookEnabled() {
return notebookEnabled;
}

public void setNotebookEnabled(Boolean notebookEnabled) {
this.notebookEnabled = notebookEnabled;
}

/**
* Configurational parameters of Notebook. Applied if `.spec.notebookEnabled` is set to `true`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("notebookTemplate")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Configurational parameters of Notebook. Applied if `.spec.notebookEnabled` is set to `true`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha1.robotspec.robotdevsuitetemplate.NotebookTemplate notebookTemplate;

public io.roboscale.robot.v1alpha1.robotspec.robotdevsuitetemplate.NotebookTemplate getNotebookTemplate() {
return notebookTemplate;
}

public void setNotebookTemplate(io.roboscale.robot.v1alpha1.robotspec.robotdevsuitetemplate.NotebookTemplate notebookTemplate) {
this.notebookTemplate = notebookTemplate;
}

/**
* If `true`, a relay server for remote Cloud IDE will be provisioned inside development suite.
*/
Expand Down
Loading

0 comments on commit bf3af15

Please sign in to comment.