mirror of
https://github.com/holos-run/holos.git
synced 2026-04-07 10:04:57 +00:00
Previously a couple of methods were defined on the Result struct. This patch moves the methods to an internal wrapper struct to remove them from the API documentation. With this patch the API between holos and CUE is entirely a data API.
11 lines
337 B
Go
11 lines
337 B
Go
package v1alpha2
|
|
|
|
const KubernetesObjectsKind = "KubernetesObjects"
|
|
|
|
// KubernetesObjects represents a [HolosComponent] composed of Kubernetes API
|
|
// objects provided directly from CUE using [APIObjects].
|
|
type KubernetesObjects struct {
|
|
HolosComponent `json:",inline"`
|
|
Kind string `json:"kind" cue:"\"KubernetesObjects\""`
|
|
}
|