Skip to main content

API Reference

Packages

control.cosmonic.io/v1alpha1

Package v1alpha1 contains API Schema definitions for Cosmonic Control v1alpha1 API group.

Resource Types

HTTPIngressPath

Appears in:

FieldDescriptionDefaultValidation
path stringRequired: {}
pathType PathTypeRequired: {}

HTTPIngressSpec

Appears in:

FieldDescriptionDefaultValidation
host stringRequired: {}
paths HTTPIngressPath arrayMinItems: 1
Required: {}

HTTPTrigger

HTTPTrigger is the Schema for the artifacts API.

Appears in:

FieldDescriptionDefaultValidation
apiVersion stringcontrol.cosmonic.io/v1alpha1
kind stringHTTPTrigger
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec HTTPTriggerSpec

HTTPTriggerList

HTTPTriggerList contains a list of HttpTrigger.

FieldDescriptionDefaultValidation
apiVersion stringcontrol.cosmonic.io/v1alpha1
kind stringHTTPTriggerList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items HTTPTrigger array

HTTPTriggerSpec

HTTPTriggerSpec defines the desired state of HttpTrigger.

Appears in:

FieldDescriptionDefaultValidation
replicas integer1Optional: {}
template WorkloadReplicaTemplateRequired: {}
deployPolicy WorkloadDeployPolicyRollingUpdateOptional: {}
artifacts WorkloadDeploymentArtifact arrayOptional: {}
kubernetes KubernetesSpecKubernetes groups Kubernetes-specific configuration such as Service
references and endpoint management.
Optional: {}
ingress HTTPIngressSpecRequired: {}
timeout DurationTimeout is the per-route upstream request timeout applied to the xDS
route generated for this trigger. Bounds how long the cosmonic-control
internal Envoy will wait for a response from the backing Wasm host
before returning "upstream request timeout". Accepts Go duration strings
(e.g. "300s", "5m"). When unset, Envoy's default (15s) applies.
Optional: {}
environment stringEnvironment pins the Host environment this trigger's workloads are
scheduled onto. When unset, the workload is left unpinned and the
scheduler treats every host as fair game (shared-host mode). Set this
explicitly to schedule onto hosts reporting a specific environment —
e.g. a shared hostgroup (e.g. "infra") or a tenant-scoped hostgroup.
Optional: {}

ProjectEnvironment

ProjectEnvironment is the Schema for the artifacts API.

Appears in:

FieldDescriptionDefaultValidation
apiVersion stringcontrol.cosmonic.io/v1alpha1
kind stringProjectEnvironment
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec ProjectEnvironmentSpec

ProjectEnvironmentGroupSpec

Appears in:

FieldDescriptionDefaultValidation
name string
role ProjectEnvironmentRole

ProjectEnvironmentList

ProjectEnvironmentList contains a list of ProjectEnvironment.

FieldDescriptionDefaultValidation
apiVersion stringcontrol.cosmonic.io/v1alpha1
kind stringProjectEnvironmentList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items ProjectEnvironment array

ProjectEnvironmentRole

Underlying type: string

Appears in:

FieldDescription
owner
admin
member
viewer

ProjectEnvironmentSpec

ProjectEnvironmentSpec defines the desired state of ProjectEnvironment.

Appears in:

FieldDescriptionDefaultValidation
groups ProjectEnvironmentGroupSpec arrayOptional: {}