Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the sro v1beta1 API group +kubebuilder:object:generate=true +groupName=sro.openshift.io
Index ¶
- Constants
- Variables
- type PreflightValidation
- type PreflightValidationList
- type PreflightValidationSpec
- type PreflightValidationStatus
- type SRStatus
- type SpecialResource
- type SpecialResourceArtifacts
- type SpecialResourceBuildArgs
- type SpecialResourceClaims
- type SpecialResourceConfiguration
- type SpecialResourceDependency
- type SpecialResourceDriverContainer
- type SpecialResourceGit
- type SpecialResourceImages
- type SpecialResourceList
- type SpecialResourceModule
- type SpecialResourceModuleList
- type SpecialResourceModuleSelector
- type SpecialResourceModuleSpec
- type SpecialResourceModuleStatus
- type SpecialResourceModuleVersionStatus
- type SpecialResourceModuleWatch
- type SpecialResourcePaths
- type SpecialResourceSource
- type SpecialResourceSpec
- type SpecialResourceStatus
Constants ¶
const ( VerificationTrue string = "True" VerificationFalse string = "False" VerificationError string = "Error" VerificationUnknown string = "Unknown" )
const ( // Ready means the SpecialResource is operational, ie. the recipe was reconciled. SpecialResourceReady string = "Ready" // Progressing means handling of the SpecialResource is in progress. SpecialResourceProgressing string = "Progressing" // Errored means SpecialResourceOperator detected an error that might be short-lived or unrecoverable without user's intervention. SpecialResourceErrored string = "Errored" )
These are valid conditions of a SpecialResource.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "sro.openshift.io", Version: "v1beta1"} // 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 )
Functions ¶
This section is empty.
Types ¶
type PreflightValidation ¶
type PreflightValidation struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PreflightValidationSpec `json:"spec,omitempty"`
Status PreflightValidationStatus `json:"status,omitempty"`
}
PreflightValidation initiates a preflight validations for all SpecialResources on the current Kuberentes cluster. +kubebuilder:resource:path=preflightvalidations,scope=Cluster +kubebuilder:resource:path=preflightvalidations,scope=Cluster,shortName=pv
func (*PreflightValidation) DeepCopy ¶
func (in *PreflightValidation) DeepCopy() *PreflightValidation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreflightValidation.
func (*PreflightValidation) DeepCopyInto ¶
func (in *PreflightValidation) DeepCopyInto(out *PreflightValidation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PreflightValidation) DeepCopyObject ¶
func (in *PreflightValidation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PreflightValidationList ¶
type PreflightValidationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
// List of PreflightValidation. More info:
// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
Items []PreflightValidation `json:"items"`
}
PreflightValidationList is a list of PreflightValidation objects.
func (*PreflightValidationList) DeepCopy ¶
func (in *PreflightValidationList) DeepCopy() *PreflightValidationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreflightValidationList.
func (*PreflightValidationList) DeepCopyInto ¶
func (in *PreflightValidationList) DeepCopyInto(out *PreflightValidationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PreflightValidationList) DeepCopyObject ¶
func (in *PreflightValidationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PreflightValidationSpec ¶
type PreflightValidationSpec struct {
// Debug enables additional logging.
// +kubebuilder:validation:Optional
Debug bool `json:"debug"`
// UpdateImage describe the OCP image that all SR CRs need to be checked against.
// +kubebuilder:validation:Required
UpdateImage string `json:"updateImage"`
}
PreflightValidationSpec describes the desired state of the resource, such as the OCP image that SR CRs need to be verified against and the debug configuration of the logs More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +kubebuilder:validation:Required
func (*PreflightValidationSpec) DeepCopy ¶
func (in *PreflightValidationSpec) DeepCopy() *PreflightValidationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreflightValidationSpec.
func (*PreflightValidationSpec) DeepCopyInto ¶
func (in *PreflightValidationSpec) DeepCopyInto(out *PreflightValidationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreflightValidationStatus ¶
type PreflightValidationStatus struct {
// CRStatuses contain observations about each SpecialResource's preflight upgradability validation
// +patchMergeKey=type
// +patchStrategy=merge
// +optional
SRStatuses []SRStatus `json:"srStatuses,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}
PreflightValidationStatus is the most recently observed status of the PreflightValidation. It is populated by the system and is read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*PreflightValidationStatus) DeepCopy ¶
func (in *PreflightValidationStatus) DeepCopy() *PreflightValidationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreflightValidationStatus.
func (*PreflightValidationStatus) DeepCopyInto ¶
func (in *PreflightValidationStatus) DeepCopyInto(out *PreflightValidationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SRStatus ¶
type SRStatus struct {
// Name of SR CR being checked
// +required
Name string `json:"name"`
// Status of SR CR verification: true (verified), false (verification failed),
// error (error during verification process), unknown (verification has not started yet)
// +required
// +kubebuilder:validation:Required
// +kubebuilder:validation:Enum=True;False;Error;Unknown
VerificationStatus string `json:"verificationStatus"`
// StatusReason contains a string describing the status source.
// +optional
StatusReason string `json:"statusReason,omitempty"`
// LastTransitionTime is the last time the CR status transitioned from one status to another.
// This should be when the underlying status changed. If that is not known, then using the time when the API field changed is acceptable.
// +required
// +kubebuilder:validation:Required
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Format=date-time
LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,4,opt,name=lastTransitionTime"`
}
func (*SRStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SRStatus.
func (*SRStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResource ¶
type SpecialResource struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec SpecialResourceSpec `json:"spec,omitempty"`
Status SpecialResourceStatus `json:"status,omitempty"`
}
SpecialResource describes a software stack for hardware accelerators on an existing Kubernetes cluster. +kubebuilder:resource:path=specialresources,scope=Cluster +kubebuilder:resource:path=specialresources,scope=Cluster,shortName=sr +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status` +kubebuilder:printcolumn:name="Progressing",type=string,JSONPath=`.status.conditions[?(@.type=="Progressing")].status` +kubebuilder:printcolumn:name="Errored",type=string,JSONPath=`.status.conditions[?(@.type=="Errored")].status`
func (*SpecialResource) DeepCopy ¶
func (in *SpecialResource) DeepCopy() *SpecialResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResource.
func (*SpecialResource) DeepCopyInto ¶
func (in *SpecialResource) DeepCopyInto(out *SpecialResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpecialResource) DeepCopyObject ¶
func (in *SpecialResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SpecialResourceArtifacts ¶
type SpecialResourceArtifacts struct {
// +kubebuilder:validation:Optional
HostPaths []SpecialResourcePaths `json:"hostPaths,omitempty"`
// +kubebuilder:validation:Optional
Images []SpecialResourceImages `json:"images,omitempty"`
// +kubebuilder:validation:Optional
Claims []SpecialResourceClaims `json:"claims,omitempty"`
}
SpecialResourceArtifacts is not used.
func (*SpecialResourceArtifacts) DeepCopy ¶
func (in *SpecialResourceArtifacts) DeepCopy() *SpecialResourceArtifacts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceArtifacts.
func (*SpecialResourceArtifacts) DeepCopyInto ¶
func (in *SpecialResourceArtifacts) DeepCopyInto(out *SpecialResourceArtifacts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceBuildArgs ¶
SpecialResourceBuildArgs is not used.
func (*SpecialResourceBuildArgs) DeepCopy ¶
func (in *SpecialResourceBuildArgs) DeepCopy() *SpecialResourceBuildArgs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceBuildArgs.
func (*SpecialResourceBuildArgs) DeepCopyInto ¶
func (in *SpecialResourceBuildArgs) DeepCopyInto(out *SpecialResourceBuildArgs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceClaims ¶
SpecialResourceClaims is not used.
func (*SpecialResourceClaims) DeepCopy ¶
func (in *SpecialResourceClaims) DeepCopy() *SpecialResourceClaims
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceClaims.
func (*SpecialResourceClaims) DeepCopyInto ¶
func (in *SpecialResourceClaims) DeepCopyInto(out *SpecialResourceClaims)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceConfiguration ¶
type SpecialResourceConfiguration struct {
Name string `json:"name"`
Value []string `json:"value"`
}
SpecialResourceConfiguration is not used.
func (*SpecialResourceConfiguration) DeepCopy ¶
func (in *SpecialResourceConfiguration) DeepCopy() *SpecialResourceConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceConfiguration.
func (*SpecialResourceConfiguration) DeepCopyInto ¶
func (in *SpecialResourceConfiguration) DeepCopyInto(out *SpecialResourceConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceDependency ¶
type SpecialResourceDependency struct {
helmerv1beta1.HelmChart `json:"chart,omitempty"`
// Set are Helm hierarchical values for this chart installation.
// +kubebuilder:validation:Optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:EmbeddedResource
Set unstructured.Unstructured `json:"set,omitempty"`
}
SpecialResourceDependency is a Helm chart the SpecialResource depends on.
func (*SpecialResourceDependency) DeepCopy ¶
func (in *SpecialResourceDependency) DeepCopy() *SpecialResourceDependency
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceDependency.
func (*SpecialResourceDependency) DeepCopyInto ¶
func (in *SpecialResourceDependency) DeepCopyInto(out *SpecialResourceDependency)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceDriverContainer ¶
type SpecialResourceDriverContainer struct {
// +kubebuilder:validation:Optional
Source SpecialResourceSource `json:"source,omitempty"`
// +kubebuilder:validation:Optional
Artifacts SpecialResourceArtifacts `json:"artifacts,omitempty"`
}
SpecialResourceDriverContainer is not used.
func (*SpecialResourceDriverContainer) DeepCopy ¶
func (in *SpecialResourceDriverContainer) DeepCopy() *SpecialResourceDriverContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceDriverContainer.
func (*SpecialResourceDriverContainer) DeepCopyInto ¶
func (in *SpecialResourceDriverContainer) DeepCopyInto(out *SpecialResourceDriverContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceGit ¶
SpecialResourceGit is not used.
func (*SpecialResourceGit) DeepCopy ¶
func (in *SpecialResourceGit) DeepCopy() *SpecialResourceGit
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceGit.
func (*SpecialResourceGit) DeepCopyInto ¶
func (in *SpecialResourceGit) DeepCopyInto(out *SpecialResourceGit)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceImages ¶
type SpecialResourceImages struct {
Name string `json:"name"`
Kind string `json:"kind"`
Namespace string `json:"namespace"`
PullSecret string `json:"pullsecret,omitempty"`
Paths []SpecialResourcePaths `json:"path"`
}
SpecialResourceImages is not used.
func (*SpecialResourceImages) DeepCopy ¶
func (in *SpecialResourceImages) DeepCopy() *SpecialResourceImages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceImages.
func (*SpecialResourceImages) DeepCopyInto ¶
func (in *SpecialResourceImages) DeepCopyInto(out *SpecialResourceImages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceList ¶
type SpecialResourceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
// List of SpecialResources. More info:
// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
Items []SpecialResource `json:"items"`
}
SpecialResourceList is a list of SpecialResource objects.
func (*SpecialResourceList) DeepCopy ¶
func (in *SpecialResourceList) DeepCopy() *SpecialResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceList.
func (*SpecialResourceList) DeepCopyInto ¶
func (in *SpecialResourceList) DeepCopyInto(out *SpecialResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpecialResourceList) DeepCopyObject ¶
func (in *SpecialResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SpecialResourceModule ¶
type SpecialResourceModule struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:Required
Spec SpecialResourceModuleSpec `json:"spec,omitempty"`
Status SpecialResourceModuleStatus `json:"status,omitempty"`
}
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=specialresourcemodules,scope=Cluster +kubebuilder:resource:path=specialresourcemodules,scope=Cluster,shortName=srm
func (*SpecialResourceModule) DeepCopy ¶
func (in *SpecialResourceModule) DeepCopy() *SpecialResourceModule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceModule.
func (*SpecialResourceModule) DeepCopyInto ¶
func (in *SpecialResourceModule) DeepCopyInto(out *SpecialResourceModule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpecialResourceModule) DeepCopyObject ¶
func (in *SpecialResourceModule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SpecialResourceModuleList ¶
type SpecialResourceModuleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []SpecialResourceModule `json:"items"`
}
+kubebuilder:object:root=true +kubebuilder:resource:path=specialresourcemodules,scope=Cluster +kubebuilder:resource:path=specialresourcemodules,scope=Cluster,shortName=srm
func (*SpecialResourceModuleList) DeepCopy ¶
func (in *SpecialResourceModuleList) DeepCopy() *SpecialResourceModuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceModuleList.
func (*SpecialResourceModuleList) DeepCopyInto ¶
func (in *SpecialResourceModuleList) DeepCopyInto(out *SpecialResourceModuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpecialResourceModuleList) DeepCopyObject ¶
func (in *SpecialResourceModuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SpecialResourceModuleSelector ¶
type SpecialResourceModuleSelector struct {
// +kubebuilder:validation:Required
Path string `json:"path"`
// +kubebuilder:validation:Required
Value string `json:"value"`
// +kubebuilder:validation:Optional
Exclude bool `json:"exclude"`
}
func (*SpecialResourceModuleSelector) DeepCopy ¶
func (in *SpecialResourceModuleSelector) DeepCopy() *SpecialResourceModuleSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceModuleSelector.
func (*SpecialResourceModuleSelector) DeepCopyInto ¶
func (in *SpecialResourceModuleSelector) DeepCopyInto(out *SpecialResourceModuleSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceModuleSpec ¶
type SpecialResourceModuleSpec struct {
// Chart describes the Helm chart that needs to be installed.
// +kubebuilder:validation:Required
Chart helmerv1beta1.HelmChart `json:"chart"`
// Namespace describes in which namespace the chart will be installed.
// +kubebuilder:validation:Required
Namespace string `json:"namespace"`
// Set is a user-defined hierarchical value tree from where the chart takes its parameters.
// +kubebuilder:validation:Optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:EmbeddedResource
Set unstructured.Unstructured `json:"set,omitempty"`
// Watch describes from which resources the OCP version/base image will be sourced to determine
// which DTK to use.
// +kubebuilder:validation:Required
Watch []SpecialResourceModuleWatch `json:"watch"`
}
func (*SpecialResourceModuleSpec) DeepCopy ¶
func (in *SpecialResourceModuleSpec) DeepCopy() *SpecialResourceModuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceModuleSpec.
func (*SpecialResourceModuleSpec) DeepCopyInto ¶
func (in *SpecialResourceModuleSpec) DeepCopyInto(out *SpecialResourceModuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceModuleStatus ¶
type SpecialResourceModuleStatus struct {
Versions map[string]SpecialResourceModuleVersionStatus `json:"versions,omitempty"`
}
func (*SpecialResourceModuleStatus) DeepCopy ¶
func (in *SpecialResourceModuleStatus) DeepCopy() *SpecialResourceModuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceModuleStatus.
func (*SpecialResourceModuleStatus) DeepCopyInto ¶
func (in *SpecialResourceModuleStatus) DeepCopyInto(out *SpecialResourceModuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceModuleVersionStatus ¶
type SpecialResourceModuleVersionStatus struct {
ReconciledTemplates []string `json:"reconciledTemplates,omitempty"`
Complete bool `json:"complete"`
}
func (*SpecialResourceModuleVersionStatus) DeepCopy ¶
func (in *SpecialResourceModuleVersionStatus) DeepCopy() *SpecialResourceModuleVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceModuleVersionStatus.
func (*SpecialResourceModuleVersionStatus) DeepCopyInto ¶
func (in *SpecialResourceModuleVersionStatus) DeepCopyInto(out *SpecialResourceModuleVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceModuleWatch ¶
type SpecialResourceModuleWatch struct {
// +kubebuilder:validation:Required
ApiVersion string `json:"apiVersion"`
// +kubebuilder:validation:Required
Kind string `json:"kind"`
// +kubebuilder:validation:Optional
Name string `json:"name,omitempty"`
// +kubebuilder:validation:Optional
Namespace string `json:"namespace,omitempty"`
// +kubebuilder:validation:Required
Path string `json:"path"`
// +kubebuilder:validation:Optional
Selector []SpecialResourceModuleSelector `json:"selector,omitempty"`
}
func (*SpecialResourceModuleWatch) DeepCopy ¶
func (in *SpecialResourceModuleWatch) DeepCopy() *SpecialResourceModuleWatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceModuleWatch.
func (*SpecialResourceModuleWatch) DeepCopyInto ¶
func (in *SpecialResourceModuleWatch) DeepCopyInto(out *SpecialResourceModuleWatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourcePaths ¶
type SpecialResourcePaths struct {
SourcePath string `json:"sourcePath"`
DestinationDir string `json:"destinationDir"`
}
SpecialResourcePaths is not used.
func (*SpecialResourcePaths) DeepCopy ¶
func (in *SpecialResourcePaths) DeepCopy() *SpecialResourcePaths
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourcePaths.
func (*SpecialResourcePaths) DeepCopyInto ¶
func (in *SpecialResourcePaths) DeepCopyInto(out *SpecialResourcePaths)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceSource ¶
type SpecialResourceSource struct {
Git SpecialResourceGit `json:"git,omitempty"`
}
SpecialResourceSource is not used.
func (*SpecialResourceSource) DeepCopy ¶
func (in *SpecialResourceSource) DeepCopy() *SpecialResourceSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceSource.
func (*SpecialResourceSource) DeepCopyInto ¶
func (in *SpecialResourceSource) DeepCopyInto(out *SpecialResourceSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceSpec ¶
type SpecialResourceSpec struct {
// Chart describes the Helm chart that needs to be installed.
// +kubebuilder:validation:Required
Chart helmerv1beta1.HelmChart `json:"chart"`
// Namespace describes in which namespace the chart will be installed.
// +kubebuilder:validation:Required
Namespace string `json:"namespace"`
// ForceUpgrade is not used.
// +kubebuilder:validation:Optional
ForceUpgrade bool `json:"forceUpgrade"`
// Debug enables additional logging.
// +kubebuilder:validation:Optional
Debug bool `json:"debug"`
// Set is a user-defined hierarchical value tree from where the chart takes its parameters.
// +kubebuilder:validation:Optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:EmbeddedResource
Set unstructured.Unstructured `json:"set,omitempty"`
// DriverContainer is not used.
// +kubebuilder:validation:Optional
DriverContainer SpecialResourceDriverContainer `json:"driverContainer,omitempty"`
// NodeSelector is used to determine on which nodes the software stack should be installed.
// +kubebuilder:validation:Optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// Dependencies is a list of dependencies required by this SpecialReosurce.
// +kubebuilder:validation:Optional
Dependencies []SpecialResourceDependency `json:"dependencies,omitempty"`
// +kubebuilder:validation:Optional
ManagementState operatorv1.ManagementState `json:"managementState,omitempty"`
}
SpecialResourceSpec describes the desired state of the resource, such as the chart to be used and a selector on which nodes it should be installed. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +kubebuilder:validation:Required
func (*SpecialResourceSpec) DeepCopy ¶
func (in *SpecialResourceSpec) DeepCopy() *SpecialResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceSpec.
func (*SpecialResourceSpec) DeepCopyInto ¶
func (in *SpecialResourceSpec) DeepCopyInto(out *SpecialResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecialResourceStatus ¶
type SpecialResourceStatus struct {
// State describes at which step the chart installation is.
// TODO: Remove on API version bump.
State string `json:"state"`
// Conditions contain observations about SpecialResource's current state
// +patchMergeKey=type
// +patchStrategy=merge
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}
SpecialResourceStatus is the most recently observed status of the SpecialResource. It is populated by the system and is read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*SpecialResourceStatus) DeepCopy ¶
func (in *SpecialResourceStatus) DeepCopy() *SpecialResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecialResourceStatus.
func (*SpecialResourceStatus) DeepCopyInto ¶
func (in *SpecialResourceStatus) DeepCopyInto(out *SpecialResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.