Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the deploy v1alpha1 API group. +kubebuilder:object:generate=true +groupName=deploy.platform.tbd.io
Index ¶
- Variables
- type PlatformConfig
- func (in *PlatformConfig) DeepCopy() *PlatformConfig
- func (in *PlatformConfig) DeepCopyInto(out *PlatformConfig)
- func (in *PlatformConfig) DeepCopyObject() runtime.Object
- func (component *PlatformConfig) GetChildResourceConditions() []*status.ChildResource
- func (*PlatformConfig) GetDependencies() []workload.Workload
- func (component *PlatformConfig) GetDependencyStatus() bool
- func (component *PlatformConfig) GetPhaseConditions() []*status.PhaseCondition
- func (component *PlatformConfig) GetReadyStatus() bool
- func (*PlatformConfig) GetWorkloadGVK() schema.GroupVersionKind
- func (component *PlatformConfig) SetChildResourceCondition(resource *status.ChildResource)
- func (component *PlatformConfig) SetDependencyStatus(dependencyStatus bool)
- func (component *PlatformConfig) SetPhaseCondition(condition *status.PhaseCondition)
- func (component *PlatformConfig) SetReadyStatus(ready bool)
- type PlatformConfigList
- type PlatformConfigSpec
- type PlatformConfigSpecCloud
- type PlatformConfigSpecPlatform
- type PlatformConfigSpecPlatformCertificates
- type PlatformConfigSpecPlatformIdentity
- type PlatformConfigStatus
- type PlatformOperators
- func (in *PlatformOperators) DeepCopy() *PlatformOperators
- func (in *PlatformOperators) DeepCopyInto(out *PlatformOperators)
- func (in *PlatformOperators) DeepCopyObject() runtime.Object
- func (component *PlatformOperators) GetChildResourceConditions() []*status.ChildResource
- func (*PlatformOperators) GetDependencies() []workload.Workload
- func (component *PlatformOperators) GetDependencyStatus() bool
- func (component *PlatformOperators) GetPhaseConditions() []*status.PhaseCondition
- func (component *PlatformOperators) GetReadyStatus() bool
- func (*PlatformOperators) GetWorkloadGVK() schema.GroupVersionKind
- func (component *PlatformOperators) SetChildResourceCondition(resource *status.ChildResource)
- func (component *PlatformOperators) SetDependencyStatus(dependencyStatus bool)
- func (component *PlatformOperators) SetPhaseCondition(condition *status.PhaseCondition)
- func (component *PlatformOperators) SetReadyStatus(ready bool)
- type PlatformOperatorsList
- type PlatformOperatorsSpec
- type PlatformOperatorsStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "deploy.platform.tbd.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ErrUnableToConvertPlatformConfig = errors.New("unable to convert to PlatformConfig")
var ErrUnableToConvertPlatformOperators = errors.New("unable to convert to PlatformOperators")
Functions ¶
This section is empty.
Types ¶
type PlatformConfig ¶
type PlatformConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PlatformConfigSpec `json:"spec,omitempty"` Status PlatformConfigStatus `json:"status,omitempty"` }
PlatformConfig is the Schema for the platformconfigs API.
func (*PlatformConfig) DeepCopy ¶
func (in *PlatformConfig) DeepCopy() *PlatformConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformConfig.
func (*PlatformConfig) DeepCopyInto ¶
func (in *PlatformConfig) DeepCopyInto(out *PlatformConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlatformConfig) DeepCopyObject ¶
func (in *PlatformConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PlatformConfig) GetChildResourceConditions ¶
func (component *PlatformConfig) GetChildResourceConditions() []*status.ChildResource
GetResources returns the child resource status for a component.
func (*PlatformConfig) GetDependencies ¶
func (*PlatformConfig) GetDependencies() []workload.Workload
GetDependencies returns the dependencies for a component.
func (*PlatformConfig) GetDependencyStatus ¶
func (component *PlatformConfig) GetDependencyStatus() bool
GetDependencyStatus returns the dependency status for a component.
func (*PlatformConfig) GetPhaseConditions ¶
func (component *PlatformConfig) GetPhaseConditions() []*status.PhaseCondition
GetPhaseConditions returns the phase conditions for a component.
func (*PlatformConfig) GetReadyStatus ¶
func (component *PlatformConfig) GetReadyStatus() bool
GetReadyStatus returns the ready status for a component.
func (*PlatformConfig) GetWorkloadGVK ¶
func (*PlatformConfig) GetWorkloadGVK() schema.GroupVersionKind
GetComponentGVK returns a GVK object for the component.
func (*PlatformConfig) SetChildResourceCondition ¶
func (component *PlatformConfig) SetChildResourceCondition(resource *status.ChildResource)
SetResources sets the phase conditions for a component.
func (*PlatformConfig) SetDependencyStatus ¶
func (component *PlatformConfig) SetDependencyStatus(dependencyStatus bool)
SetDependencyStatus sets the dependency status for a component.
func (*PlatformConfig) SetPhaseCondition ¶
func (component *PlatformConfig) SetPhaseCondition(condition *status.PhaseCondition)
SetPhaseCondition sets the phase conditions for a component.
func (*PlatformConfig) SetReadyStatus ¶
func (component *PlatformConfig) SetReadyStatus(ready bool)
SetReadyStatus sets the ready status for a component.
type PlatformConfigList ¶
type PlatformConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PlatformConfig `json:"items"` }
PlatformConfigList contains a list of PlatformConfig.
func (*PlatformConfigList) DeepCopy ¶
func (in *PlatformConfigList) DeepCopy() *PlatformConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformConfigList.
func (*PlatformConfigList) DeepCopyInto ¶
func (in *PlatformConfigList) DeepCopyInto(out *PlatformConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlatformConfigList) DeepCopyObject ¶
func (in *PlatformConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlatformConfigSpec ¶
type PlatformConfigSpec struct { // +kubebuilder:validation:Optional Platform PlatformConfigSpecPlatform `json:"platform,omitempty"` // +kubebuilder:validation:Optional Cloud PlatformConfigSpecCloud `json:"cloud,omitempty"` }
PlatformConfigSpec defines the desired state of PlatformConfig.
func (*PlatformConfigSpec) DeepCopy ¶
func (in *PlatformConfigSpec) DeepCopy() *PlatformConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformConfigSpec.
func (*PlatformConfigSpec) DeepCopyInto ¶
func (in *PlatformConfigSpec) DeepCopyInto(out *PlatformConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformConfigSpecCloud ¶
type PlatformConfigSpecCloud struct { // +kubebuilder:default="aws" // +kubebuilder:validation:Optional // (Default: "aws") // // +kubebuilder:validation:Enum=aws // Underlying cloud type this platform is deployed upon. Currently, only AWS is supported. Type string `json:"type,omitempty"` // +kubebuilder:default=true // +kubebuilder:validation:Optional // (Default: true) // // Whether this cloud is deployed as a local cloud to use for testing scenarios. Local bool `json:"local,omitempty"` }
func (*PlatformConfigSpecCloud) DeepCopy ¶
func (in *PlatformConfigSpecCloud) DeepCopy() *PlatformConfigSpecCloud
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformConfigSpecCloud.
func (*PlatformConfigSpecCloud) DeepCopyInto ¶
func (in *PlatformConfigSpecCloud) DeepCopyInto(out *PlatformConfigSpecCloud)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformConfigSpecPlatform ¶
type PlatformConfigSpecPlatform struct { // +kubebuilder:validation:Optional Certificates PlatformConfigSpecPlatformCertificates `json:"certificates,omitempty"` // +kubebuilder:validation:Optional Identity PlatformConfigSpecPlatformIdentity `json:"identity,omitempty"` }
func (*PlatformConfigSpecPlatform) DeepCopy ¶
func (in *PlatformConfigSpecPlatform) DeepCopy() *PlatformConfigSpecPlatform
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformConfigSpecPlatform.
func (*PlatformConfigSpecPlatform) DeepCopyInto ¶
func (in *PlatformConfigSpecPlatform) DeepCopyInto(out *PlatformConfigSpecPlatform)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformConfigSpecPlatformCertificates ¶
type PlatformConfigSpecPlatformCertificates struct { // +kubebuilder:default="tbd-certificates-system" // +kubebuilder:validation:Optional // (Default: "tbd-certificates-system") // Namespace where // // the capability components will be deployed. Namespace string `json:"namespace,omitempty"` // +kubebuilder:default="small" // +kubebuilder:validation:Optional // (Default: "small") // Size of the // // deployment for the underlying capability. Must be one of small, medium, or large. // +kubebuilder:validation:Enum:small;medium;large DeploymentSize string `json:"deploymentSize,omitempty"` }
func (*PlatformConfigSpecPlatformCertificates) DeepCopy ¶
func (in *PlatformConfigSpecPlatformCertificates) DeepCopy() *PlatformConfigSpecPlatformCertificates
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformConfigSpecPlatformCertificates.
func (*PlatformConfigSpecPlatformCertificates) DeepCopyInto ¶
func (in *PlatformConfigSpecPlatformCertificates) DeepCopyInto(out *PlatformConfigSpecPlatformCertificates)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformConfigSpecPlatformIdentity ¶
type PlatformConfigSpecPlatformIdentity struct { // +kubebuilder:default="tbd-identity-system" // +kubebuilder:validation:Optional // (Default: "tbd-identity-system") // Namespace where // // the capability components will be deployed. Namespace string `json:"namespace,omitempty"` // +kubebuilder:default="small" // +kubebuilder:validation:Optional // (Default: "small") // Size of the // // +kubebuilder:validation:Enum:small;medium;large // deployment for the underlying capability. Must be one of small, medium, or large. DeploymentSize string `json:"deploymentSize,omitempty"` }
func (*PlatformConfigSpecPlatformIdentity) DeepCopy ¶
func (in *PlatformConfigSpecPlatformIdentity) DeepCopy() *PlatformConfigSpecPlatformIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformConfigSpecPlatformIdentity.
func (*PlatformConfigSpecPlatformIdentity) DeepCopyInto ¶
func (in *PlatformConfigSpecPlatformIdentity) DeepCopyInto(out *PlatformConfigSpecPlatformIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformConfigStatus ¶
type PlatformConfigStatus struct { Created bool `json:"created,omitempty"` DependenciesSatisfied bool `json:"dependenciesSatisfied,omitempty"` Conditions []*status.PhaseCondition `json:"conditions,omitempty"` Resources []*status.ChildResource `json:"resources,omitempty"` }
PlatformConfigStatus defines the observed state of PlatformConfig.
func (*PlatformConfigStatus) DeepCopy ¶
func (in *PlatformConfigStatus) DeepCopy() *PlatformConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformConfigStatus.
func (*PlatformConfigStatus) DeepCopyInto ¶
func (in *PlatformConfigStatus) DeepCopyInto(out *PlatformConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformOperators ¶
type PlatformOperators struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PlatformOperatorsSpec `json:"spec,omitempty"` Status PlatformOperatorsStatus `json:"status,omitempty"` }
PlatformOperators is the Schema for the platformoperators API.
func (*PlatformOperators) DeepCopy ¶
func (in *PlatformOperators) DeepCopy() *PlatformOperators
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformOperators.
func (*PlatformOperators) DeepCopyInto ¶
func (in *PlatformOperators) DeepCopyInto(out *PlatformOperators)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlatformOperators) DeepCopyObject ¶
func (in *PlatformOperators) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PlatformOperators) GetChildResourceConditions ¶
func (component *PlatformOperators) GetChildResourceConditions() []*status.ChildResource
GetResources returns the child resource status for a component.
func (*PlatformOperators) GetDependencies ¶
func (*PlatformOperators) GetDependencies() []workload.Workload
GetDependencies returns the dependencies for a component.
func (*PlatformOperators) GetDependencyStatus ¶
func (component *PlatformOperators) GetDependencyStatus() bool
GetDependencyStatus returns the dependency status for a component.
func (*PlatformOperators) GetPhaseConditions ¶
func (component *PlatformOperators) GetPhaseConditions() []*status.PhaseCondition
GetPhaseConditions returns the phase conditions for a component.
func (*PlatformOperators) GetReadyStatus ¶
func (component *PlatformOperators) GetReadyStatus() bool
GetReadyStatus returns the ready status for a component.
func (*PlatformOperators) GetWorkloadGVK ¶
func (*PlatformOperators) GetWorkloadGVK() schema.GroupVersionKind
GetComponentGVK returns a GVK object for the component.
func (*PlatformOperators) SetChildResourceCondition ¶
func (component *PlatformOperators) SetChildResourceCondition(resource *status.ChildResource)
SetResources sets the phase conditions for a component.
func (*PlatformOperators) SetDependencyStatus ¶
func (component *PlatformOperators) SetDependencyStatus(dependencyStatus bool)
SetDependencyStatus sets the dependency status for a component.
func (*PlatformOperators) SetPhaseCondition ¶
func (component *PlatformOperators) SetPhaseCondition(condition *status.PhaseCondition)
SetPhaseCondition sets the phase conditions for a component.
func (*PlatformOperators) SetReadyStatus ¶
func (component *PlatformOperators) SetReadyStatus(ready bool)
SetReadyStatus sets the ready status for a component.
type PlatformOperatorsList ¶
type PlatformOperatorsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PlatformOperators `json:"items"` }
PlatformOperatorsList contains a list of PlatformOperators.
func (*PlatformOperatorsList) DeepCopy ¶
func (in *PlatformOperatorsList) DeepCopy() *PlatformOperatorsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformOperatorsList.
func (*PlatformOperatorsList) DeepCopyInto ¶
func (in *PlatformOperatorsList) DeepCopyInto(out *PlatformOperatorsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlatformOperatorsList) DeepCopyObject ¶
func (in *PlatformOperatorsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlatformOperatorsSpec ¶
type PlatformOperatorsSpec struct { // +kubebuilder:default="tbd-operators-system" // +kubebuilder:validation:Optional // (Default: "tbd-operators-system") Namespace string `json:"namespace,omitempty"` }
PlatformOperatorsSpec defines the desired state of PlatformOperators.
func (*PlatformOperatorsSpec) DeepCopy ¶
func (in *PlatformOperatorsSpec) DeepCopy() *PlatformOperatorsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformOperatorsSpec.
func (*PlatformOperatorsSpec) DeepCopyInto ¶
func (in *PlatformOperatorsSpec) DeepCopyInto(out *PlatformOperatorsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformOperatorsStatus ¶
type PlatformOperatorsStatus struct { Created bool `json:"created,omitempty"` DependenciesSatisfied bool `json:"dependenciesSatisfied,omitempty"` Conditions []*status.PhaseCondition `json:"conditions,omitempty"` Resources []*status.ChildResource `json:"resources,omitempty"` }
PlatformOperatorsStatus defines the observed state of PlatformOperators.
func (*PlatformOperatorsStatus) DeepCopy ¶
func (in *PlatformOperatorsStatus) DeepCopy() *PlatformOperatorsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformOperatorsStatus.
func (*PlatformOperatorsStatus) DeepCopyInto ¶
func (in *PlatformOperatorsStatus) DeepCopyInto(out *PlatformOperatorsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.