Skip to content

Commit

Permalink
docs(reference): update reference docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tunahanertekin committed Mar 21, 2024
1 parent 4c2131d commit 933c5b2
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 2 deletions.
151 changes: 149 additions & 2 deletions docs/reference_v1alpha2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Package v1alpha2 contains API Schema definitions for the robot v1alpha2 API grou

### Resource Types
- [ROS2Workload](#ros2workload)
- [CodeEditor](#codeeditor)
- [EdgeProxy](#edgeproxy)
- [ROS2Bridge](#ros2bridge)


Expand Down Expand Up @@ -42,7 +44,7 @@ _Appears in:_
| `discoveryServerTemplate` _[DiscoveryServerSpec](#discoveryserverspec)_ | Discovery server configurational parameters. |
| `ros2BridgeTemplate` _[ROS2BridgeSpec](#ros2bridgespec)_ | ROS 2 Bridge configurational parameters. |
| `volumeClaimTemplates` _[PersistentVolumeClaimTemplate](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#persistentvolumeclaimtemplate-v1-core) array_ | Volume templates for ROS 2 workload. For each volume template, operator will create a PersistentVolumeClaim that can be mounted to the ROS 2 workload. |
| `containers` _[LaunchContainer](#launchcontainer) array_ | Configurational parameters for containers that will be encapsulated within the ROS 2 workload StatefulSet. |
| `launchContainers` _[LaunchContainer](#launchcontainer) array_ | Configurational parameters for containers that will be encapsulated within the ROS 2 workload StatefulSet. |


#### ROS2WorkloadStatus
Expand All @@ -63,6 +65,86 @@ _Appears in:_
| `statefulSetStatuses` _[OwnedStatefulSetStatus](#ownedstatefulsetstatus) array_ | Status of owned StatefulSet and containers. |


#### CodeEditor



CodeEditor is the Schema for the codeeditors API



| Field | Description |
| --- | --- |
| `apiVersion` _string_ | `robot.roboscale.io/v1alpha2`
| `kind` _string_ | `CodeEditor`
| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. |
| `spec` _[CodeEditorSpec](#codeeditorspec)_ | Specification of the desired behavior of the CodeEditor. |
| `status` _[CodeEditorStatus](#codeeditorstatus)_ | Most recently observed status of the CodeEditor. |


#### CodeEditorSpec



CodeEditorSpec defines the desired state of CodeEditor.

_Appears in:_
- [CodeEditor](#codeeditor)

| Field | Description |
| --- | --- |
| `version` _string_ | App version of the code editor. |
| `remote` _boolean_ | If `true`, code editor will be consumed remotely. |
| `container` _[CodeEditorContainer](#codeeditorcontainer)_ | Configurational parameters for code editor container. |
| `port` _integer_ | Port that code editor will use inside the container. |
| `serviceType` _[ServiceType](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#servicetype-v1-core)_ | Service type of CodeEditor. `ClusterIP` and `NodePort` is supported. |
| `ingress` _boolean_ | CodeEditor will create an Ingress resource if `true`. |
| `tlsSecretName` _string_ | Name of the TLS secret for ingress resource. |
| `volumeClaimTemplates` _[PersistentVolumeClaimTemplate](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#persistentvolumeclaimtemplate-v1-core) array_ | Volume templates for ROS 2 workload. For each volume template, operator will create a PersistentVolumeClaim that can be mounted to the ROS 2 workload. |
| `externalVolumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#volume-v1-core) array_ | External volumes. |


#### CodeEditorStatus



CodeEditorStatus defines the observed state of CodeEditor.

_Appears in:_
- [CodeEditor](#codeeditor)

| Field | Description |
| --- | --- |
| `phase` _CodeEditorPhase_ | Phase of CodeEditor. It sums the general status of code editor. |
| `pvcStatuses` _[OwnedPVCStatus](#ownedpvcstatus) array_ | Statuses of owned PersistentVolumeClaims. |
| `externalVolumeStatuses` _[ExternalVolumeStatus](#externalvolumestatus) array_ | Statuses of external volumes. |
| `deploymentStatus` _[OwnedDeploymentStatus](#owneddeploymentstatus)_ | Status of code editor deployment. |
| `serviceStatus` _[OwnedServiceStatus](#ownedservicestatus)_ | Status of code editor service. |
| `ingressStatus` _[OwnedResourceStatus](#ownedresourcestatus)_ | Status of CodeEditor Ingress. |
| `workloadUpdateNeeded` _boolean_ | Field to indicate if the workload should be restarted. |


#### EdgeProxy



EdgeProxy is the Schema for the edgeproxies API.



| Field | Description |
| --- | --- |
| `apiVersion` _string_ | `robot.roboscale.io/v1alpha2`
| `kind` _string_ | `EdgeProxy`
| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. |
| `spec` _[EdgeProxySpec](#edgeproxyspec)_ | |
| `status` _[EdgeProxyStatus](#edgeproxystatus)_ | |






#### ROS2Bridge


Expand Down Expand Up @@ -118,6 +200,36 @@ _Appears in:_
| `ingressStatus` _[OwnedResourceStatus](#ownedresourcestatus)_ | Status of ROS2Bridge Ingress. |


#### CodeEditorContainer





_Appears in:_
- [CodeEditorSpec](#codeeditorspec)

| Field | Description |
| --- | --- |
| `securityContext` _[SecurityContext](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#securitycontext-v1-core)_ | Security context of the code editor container. |
| `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#volumemount-v1-core) array_ | Mounted volumes of the code editor container. |


#### ExternalVolumeStatus





_Appears in:_
- [CodeEditorStatus](#codeeditorstatus)

| Field | Description |
| --- | --- |
| `name` _string_ | Name of the external volume. |
| `exists` _boolean_ | Indicates if the volume exists. |


#### LaunchContainer


Expand All @@ -133,13 +245,30 @@ _Appears in:_
| `container` _[Container](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#container-v1-core)_ | Single container configuration for stateful set. |


#### OwnedDeploymentStatus





_Appears in:_
- [CodeEditorStatus](#codeeditorstatus)

| Field | Description |
| --- | --- |
| `resource` _[OwnedResourceStatus](#ownedresourcestatus)_ | Generic status for any owned resource. |
| `status` _[DeploymentStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#deploymentstatus-v1-apps)_ | Status of the Deployment. |
| `containerStatuses` _[ContainerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#containerstatus-v1-core) array_ | Container statuses. |


#### OwnedPVCStatus





_Appears in:_
- [CodeEditorStatus](#codeeditorstatus)
- [ROS2WorkloadStatus](#ros2workloadstatus)

| Field | Description |
Expand All @@ -155,7 +284,10 @@ _Appears in:_
Generic status for any owned resource.

_Appears in:_
- [CodeEditorStatus](#codeeditorstatus)
- [OwnedDeploymentStatus](#owneddeploymentstatus)
- [OwnedPVCStatus](#ownedpvcstatus)
- [OwnedServiceStatus](#ownedservicestatus)
- [OwnedStatefulSetStatus](#ownedstatefulsetstatus)
- [ROS2BridgeInstanceStatus](#ros2bridgeinstancestatus)

Expand All @@ -166,6 +298,21 @@ _Appears in:_
| `phase` _string_ | Phase of the owned resource. |


#### OwnedServiceStatus





_Appears in:_
- [CodeEditorStatus](#codeeditorstatus)

| Field | Description |
| --- | --- |
| `resource` _[OwnedResourceStatus](#ownedresourcestatus)_ | Generic status for any owned resource. |
| `urls` _object (keys:string, values:string)_ | Connection URL. |


#### OwnedStatefulSetStatus


Expand All @@ -178,7 +325,7 @@ _Appears in:_
| Field | Description |
| --- | --- |
| `resource` _[OwnedResourceStatus](#ownedresourcestatus)_ | Generic status for any owned resource. |
| `status` _[StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#statefulsetstatus-v1-apps)_ | Status of the ROS2Bridge instance. |
| `status` _[StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#statefulsetstatus-v1-apps)_ | Status of the StatefulSet. |
| `containerStatuses` _[ContainerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#containerstatus-v1-core) array_ | Container statuses. |


Expand Down
2 changes: 2 additions & 0 deletions docs/reference_v1alpha2/reference-gen-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ processor:
- "List$"
sortKinds:
- "ROS2Workload"
- "CodeEditor"
- "EdgeProxy"
- "ROS2Bridge"
ignoreFields:
- "TypeMeta$"
Expand Down

0 comments on commit 933c5b2

Please sign in to comment.