Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the dhcp v1alpha1 API group +kubebuilder:object:generate=true +groupName=packages.thetechnick.ninja
Index ¶
- Constants
- Variables
- type ClusterObjectDeployment
- type ClusterObjectDeploymentList
- type ClusterObjectDeploymentSpec
- type ClusterObjectDeploymentStatus
- type ClusterObjectSet
- type ClusterObjectSetList
- type ClusterObjectSetPhase
- type ClusterObjectSetPhaseList
- type ClusterObjectSetPhaseSpec
- type ClusterObjectSetPhaseStatus
- type ClusterObjectSetSlice
- type ClusterObjectSetSliceList
- type ClusterObjectSetSpec
- type ClusterObjectSetStatus
- type ClusterPackage
- type ClusterPackageList
- type ClusterPackageSpec
- type ClusterPackageStatus
- type ObjectDeployment
- type ObjectDeploymentList
- type ObjectDeploymentPhase
- type ObjectDeploymentSpec
- type ObjectDeploymentStatus
- type ObjectPhase
- type ObjectSet
- type ObjectSetLifecycleState
- type ObjectSetList
- type ObjectSetObject
- type ObjectSetPausedObject
- type ObjectSetPhase
- type ObjectSetPhaseList
- type ObjectSetPhaseSpec
- type ObjectSetPhaseStatus
- type ObjectSetProbe
- type ObjectSetSlice
- type ObjectSetSliceList
- type ObjectSetSpec
- type ObjectSetStatus
- type ObjectSetStatusPhase
- type ObjectSetTemplate
- type ObjectSetTemplateSpec
- type Package
- type PackageList
- type PackageProbeKindSpec
- type PackageSourceSpec
- type PackageSourceType
- type PackageSpec
- type PackageStatus
- type PackageStatusPhase
- type Probe
- type ProbeConditionSpec
- type ProbeFieldsEqualSpec
- type ProbeSelector
- type ProbeSelectorType
- type ProbeType
Constants ¶
const ( ObjectDeploymentAvailable = "Available" ObjectDeploymentProgressing = "Progressing" )
ObjectDeployment Condition Types
const ( ObjectSetAvailable = "Available" ObjectSetPaused = "Paused" ObjectSetArchived = "Archived" // Succeeded condition is only set once, // after a ObjectSet became Available for the first time. ObjectSetSucceeded = "Succeeded" )
ObjectSet Condition Types
const ( // A Packages "Available" condition tracks the availability of the underlying ObjectDeployment objects. // When the Package is reporting "Available" = True, it's expected that whatever the Package installs is up and operational. // Package "Availability" may change multiple times during it's lifecycle. PackageAvailable = "Available" PackageProgressing = "Progressing" PackageUnpacked = "Unpacked" )
Package condition types
const ObjectSetLabelName = "packages.thetechnick.ninja/object-set-name"
ObjectSetLabelName is used to indicate the name of a ObjectSet.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "packages.thetechnick.ninja", 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 )
Functions ¶
This section is empty.
Types ¶
type ClusterObjectDeployment ¶
type ClusterObjectDeployment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterObjectDeploymentSpec `json:"spec,omitempty"` // +kubebuilder:default={phase:Pending} Status ClusterObjectDeploymentStatus `json:"status,omitempty"` }
ClusterObjectDeployment is the Schema for the ClusterObjectDeployments API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ClusterObjectDeployment) DeepCopy ¶
func (in *ClusterObjectDeployment) DeepCopy() *ClusterObjectDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectDeployment.
func (*ClusterObjectDeployment) DeepCopyInto ¶
func (in *ClusterObjectDeployment) DeepCopyInto(out *ClusterObjectDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterObjectDeployment) DeepCopyObject ¶
func (in *ClusterObjectDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterObjectDeploymentList ¶
type ClusterObjectDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterObjectDeployment `json:"items"` }
ClusterObjectDeploymentList contains a list of ClusterObjectDeployments +kubebuilder:object:root=true
func (*ClusterObjectDeploymentList) DeepCopy ¶
func (in *ClusterObjectDeploymentList) DeepCopy() *ClusterObjectDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectDeploymentList.
func (*ClusterObjectDeploymentList) DeepCopyInto ¶
func (in *ClusterObjectDeploymentList) DeepCopyInto(out *ClusterObjectDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterObjectDeploymentList) DeepCopyObject ¶
func (in *ClusterObjectDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterObjectDeploymentSpec ¶
type ClusterObjectDeploymentSpec struct { // Number of old revisions in the form of archived ObjectSets to keep. // +kubebuilder:default=5 RevisionHistoryLimit *int `json:"revisionHistoryLimit,omitempty"` // Selector targets ObjectSets managed by this Deployment. Selector metav1.LabelSelector `json:"selector"` // Template to create new ObjectSets from. Template ObjectSetTemplate `json:"template"` }
ClusterObjectDeploymentSpec defines the desired state of a ClusterObjectDeployment.
func (*ClusterObjectDeploymentSpec) DeepCopy ¶
func (in *ClusterObjectDeploymentSpec) DeepCopy() *ClusterObjectDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectDeploymentSpec.
func (*ClusterObjectDeploymentSpec) DeepCopyInto ¶
func (in *ClusterObjectDeploymentSpec) DeepCopyInto(out *ClusterObjectDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterObjectDeploymentStatus ¶
type ClusterObjectDeploymentStatus struct { // Conditions is a list of status conditions ths object is in. Conditions []metav1.Condition `json:"conditions,omitempty"` // DEPRECATED: This field is not part of any API contract // it will go away as soon as kubectl can print conditions! // Human readable status - please use .Conditions from code Phase ObjectDeploymentPhase `json:"phase,omitempty"` // Count of hash collisions of the ClusterObjectDeployment. CollisionCount *int32 `json:"collisionCount,omitempty"` // Computed TemplateHash. TemplateHash string `json:"templateHash,omitempty"` }
ClusterObjectDeploymentStatus defines the observed state of a ClusterObjectDeployment
func (*ClusterObjectDeploymentStatus) DeepCopy ¶
func (in *ClusterObjectDeploymentStatus) DeepCopy() *ClusterObjectDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectDeploymentStatus.
func (*ClusterObjectDeploymentStatus) DeepCopyInto ¶
func (in *ClusterObjectDeploymentStatus) DeepCopyInto(out *ClusterObjectDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterObjectSet ¶
type ClusterObjectSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterObjectSetSpec `json:"spec,omitempty"` // +kubebuilder:default={phase:Pending} Status ClusterObjectSetStatus `json:"status,omitempty"` }
ClusterObjectSet reconcile a collection of objects across ordered phases and aggregate their status. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ClusterObjectSet) DeepCopy ¶
func (in *ClusterObjectSet) DeepCopy() *ClusterObjectSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSet.
func (*ClusterObjectSet) DeepCopyInto ¶
func (in *ClusterObjectSet) DeepCopyInto(out *ClusterObjectSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterObjectSet) DeepCopyObject ¶
func (in *ClusterObjectSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterObjectSetList ¶
type ClusterObjectSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterObjectSet `json:"items"` }
ClusterObjectSetList contains a list of ClusterObjectSets +kubebuilder:object:root=true
func (*ClusterObjectSetList) DeepCopy ¶
func (in *ClusterObjectSetList) DeepCopy() *ClusterObjectSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSetList.
func (*ClusterObjectSetList) DeepCopyInto ¶
func (in *ClusterObjectSetList) DeepCopyInto(out *ClusterObjectSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterObjectSetList) DeepCopyObject ¶
func (in *ClusterObjectSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterObjectSetPhase ¶
type ClusterObjectSetPhase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterObjectSetPhaseSpec `json:"spec,omitempty"` Status ClusterObjectSetPhaseStatus `json:"status,omitempty"` }
ClusterObjectSetPhase is the Schema for the ClusterObjectSetPhases API +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ClusterObjectSetPhase) DeepCopy ¶
func (in *ClusterObjectSetPhase) DeepCopy() *ClusterObjectSetPhase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSetPhase.
func (*ClusterObjectSetPhase) DeepCopyInto ¶
func (in *ClusterObjectSetPhase) DeepCopyInto(out *ClusterObjectSetPhase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterObjectSetPhase) DeepCopyObject ¶
func (in *ClusterObjectSetPhase) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterObjectSetPhaseList ¶
type ClusterObjectSetPhaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterObjectSetPhase `json:"items"` }
ClusterObjectSetPhaseList contains a list of ClusterObjectSetPhases +kubebuilder:object:root=true
func (*ClusterObjectSetPhaseList) DeepCopy ¶
func (in *ClusterObjectSetPhaseList) DeepCopy() *ClusterObjectSetPhaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSetPhaseList.
func (*ClusterObjectSetPhaseList) DeepCopyInto ¶
func (in *ClusterObjectSetPhaseList) DeepCopyInto(out *ClusterObjectSetPhaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterObjectSetPhaseList) DeepCopyObject ¶
func (in *ClusterObjectSetPhaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterObjectSetPhaseSpec ¶
type ClusterObjectSetPhaseSpec struct { // Paused disables reconcilation of the ClusterObjectSetPhase, // only Status updates will be propagated. Paused bool `json:"paused,omitempty"` // Pause reconcilation of specific objects. PausedFor []ObjectSetPausedObject `json:"pausedFor,omitempty"` // Readiness Probes check objects that are part of the package. // All probes need to succeed for a package to be considered Available. // Failing probes will prevent the reconcilation of objects in later phases. ReadinessProbes []ObjectSetProbe `json:"readinessProbes"` // Immutable fields below ObjectPhase `json:",inline"` }
ClusterObjectSetPhaseSpec defines the desired state of a ClusterObjectSetPhase.
func (*ClusterObjectSetPhaseSpec) DeepCopy ¶
func (in *ClusterObjectSetPhaseSpec) DeepCopy() *ClusterObjectSetPhaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSetPhaseSpec.
func (*ClusterObjectSetPhaseSpec) DeepCopyInto ¶
func (in *ClusterObjectSetPhaseSpec) DeepCopyInto(out *ClusterObjectSetPhaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterObjectSetPhaseStatus ¶
type ClusterObjectSetPhaseStatus struct { // Conditions is a list of status conditions ths object is in. Conditions []metav1.Condition `json:"conditions,omitempty"` // List of objects, the controller has paused reconcilation on. PausedFor []ObjectSetPausedObject `json:"pausedFor,omitempty"` }
ClusterObjectSetPhaseStatus defines the observed state of a ClusterObjectSetPhase
func (*ClusterObjectSetPhaseStatus) DeepCopy ¶
func (in *ClusterObjectSetPhaseStatus) DeepCopy() *ClusterObjectSetPhaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSetPhaseStatus.
func (*ClusterObjectSetPhaseStatus) DeepCopyInto ¶
func (in *ClusterObjectSetPhaseStatus) DeepCopyInto(out *ClusterObjectSetPhaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterObjectSetSlice ¶
type ClusterObjectSetSlice struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Objects belonging to this phase. Objects []ObjectSetObject `json:"objects"` }
ClusterObjectSetSlice holds a collection of objects too large to inline into the parent ObjectSet. Multiple ClusterObjectSetSlices may provide the storage backend for particularly large ObjectSets. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ClusterObjectSetSlice) DeepCopy ¶
func (in *ClusterObjectSetSlice) DeepCopy() *ClusterObjectSetSlice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSetSlice.
func (*ClusterObjectSetSlice) DeepCopyInto ¶
func (in *ClusterObjectSetSlice) DeepCopyInto(out *ClusterObjectSetSlice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterObjectSetSlice) DeepCopyObject ¶
func (in *ClusterObjectSetSlice) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterObjectSetSliceList ¶
type ClusterObjectSetSliceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterObjectSetSlice `json:"items"` }
ClusterObjectSetSliceList contains a list of ClusterObjectSetSlices +kubebuilder:object:root=true
func (*ClusterObjectSetSliceList) DeepCopy ¶
func (in *ClusterObjectSetSliceList) DeepCopy() *ClusterObjectSetSliceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSetSliceList.
func (*ClusterObjectSetSliceList) DeepCopyInto ¶
func (in *ClusterObjectSetSliceList) DeepCopyInto(out *ClusterObjectSetSliceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterObjectSetSliceList) DeepCopyObject ¶
func (in *ClusterObjectSetSliceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterObjectSetSpec ¶
type ClusterObjectSetSpec struct { // Specifies the lifecycle state of the ObjectSet. // +kubebuilder:default="Active" // +kubebuilder:validation:Enum=Active;Paused;Archived LifecycleState ObjectSetLifecycleState `json:"lifecycleState,omitempty"` // Pause reconcilation of specific objects, while still reporting status. PausedFor []ObjectSetPausedObject `json:"pausedFor,omitempty"` // Immutable fields below ObjectSetTemplateSpec `json:",inline"` }
ClusterObjectSetSpec defines the desired state of a ClusterObjectSet.
func (*ClusterObjectSetSpec) DeepCopy ¶
func (in *ClusterObjectSetSpec) DeepCopy() *ClusterObjectSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSetSpec.
func (*ClusterObjectSetSpec) DeepCopyInto ¶
func (in *ClusterObjectSetSpec) DeepCopyInto(out *ClusterObjectSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterObjectSetStatus ¶
type ClusterObjectSetStatus struct { // Conditions is a list of status conditions ths object is in. Conditions []metav1.Condition `json:"conditions,omitempty"` // DEPRECATED: This field is not part of any API contract // it will go away as soon as kubectl can print conditions! // Human readable status - please use .Conditions from code Phase ObjectSetStatusPhase `json:"phase,omitempty"` // List of objects, the controller has paused reconcilation on. PausedFor []ObjectSetPausedObject `json:"pausedFor,omitempty"` }
ClusterObjectSetStatus defines the observed state of a ClusterObjectSet
func (*ClusterObjectSetStatus) DeepCopy ¶
func (in *ClusterObjectSetStatus) DeepCopy() *ClusterObjectSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectSetStatus.
func (*ClusterObjectSetStatus) DeepCopyInto ¶
func (in *ClusterObjectSetStatus) DeepCopyInto(out *ClusterObjectSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPackage ¶
type ClusterPackage struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterPackageSpec `json:"spec,omitempty"` // +kubebuilder:default={phase:Pending} Status ClusterPackageStatus `json:"status,omitempty"` }
ClusterPackage is the Schema for the ClusterPackages API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ClusterPackage) DeepCopy ¶
func (in *ClusterPackage) DeepCopy() *ClusterPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPackage.
func (*ClusterPackage) DeepCopyInto ¶
func (in *ClusterPackage) DeepCopyInto(out *ClusterPackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPackage) DeepCopyObject ¶
func (in *ClusterPackage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPackageList ¶
type ClusterPackageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterPackage `json:"items"` }
ClusterPackageList contains a list of ClusterPackages +kubebuilder:object:root=true
func (*ClusterPackageList) DeepCopy ¶
func (in *ClusterPackageList) DeepCopy() *ClusterPackageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPackageList.
func (*ClusterPackageList) DeepCopyInto ¶
func (in *ClusterPackageList) DeepCopyInto(out *ClusterPackageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPackageList) DeepCopyObject ¶
func (in *ClusterPackageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPackageSpec ¶
type ClusterPackageSpec struct {
PackageSourceSpec `json:",inline"`
}
ClusterPackageSpec defines the desired state of a ClusterPackage.
func (*ClusterPackageSpec) DeepCopy ¶
func (in *ClusterPackageSpec) DeepCopy() *ClusterPackageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPackageSpec.
func (*ClusterPackageSpec) DeepCopyInto ¶
func (in *ClusterPackageSpec) DeepCopyInto(out *ClusterPackageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPackageStatus ¶
type ClusterPackageStatus struct { // Conditions is a list of status conditions ths object is in. Conditions []metav1.Condition `json:"conditions,omitempty"` // DEPRECATED: This field is not part of any API contract // it will go away as soon as kubectl can print conditions! // Human readable status - please use .Conditions from code Phase PackageStatusPhase `json:"phase,omitempty"` // Hash of the PackageSourceSpec, used to track whether a new unpack is needed. SourceHash string `json:"sourceHash,omitempty"` }
ClusterPackageStatus defines the observed state of a ClusterPackage
func (*ClusterPackageStatus) DeepCopy ¶
func (in *ClusterPackageStatus) DeepCopy() *ClusterPackageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPackageStatus.
func (*ClusterPackageStatus) DeepCopyInto ¶
func (in *ClusterPackageStatus) DeepCopyInto(out *ClusterPackageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectDeployment ¶
type ObjectDeployment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ObjectDeploymentSpec `json:"spec,omitempty"` // +kubebuilder:default={phase:Pending} Status ObjectDeploymentStatus `json:"status,omitempty"` }
ObjectDeployment is the Schema for the ObjectDeployments API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ObjectDeployment) DeepCopy ¶
func (in *ObjectDeployment) DeepCopy() *ObjectDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectDeployment.
func (*ObjectDeployment) DeepCopyInto ¶
func (in *ObjectDeployment) DeepCopyInto(out *ObjectDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectDeployment) DeepCopyObject ¶
func (in *ObjectDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectDeploymentList ¶
type ObjectDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ObjectDeployment `json:"items"` }
ObjectDeploymentList contains a list of ObjectDeployments +kubebuilder:object:root=true
func (*ObjectDeploymentList) DeepCopy ¶
func (in *ObjectDeploymentList) DeepCopy() *ObjectDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectDeploymentList.
func (*ObjectDeploymentList) DeepCopyInto ¶
func (in *ObjectDeploymentList) DeepCopyInto(out *ObjectDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectDeploymentList) DeepCopyObject ¶
func (in *ObjectDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectDeploymentPhase ¶
type ObjectDeploymentPhase string
const ( ObjectDeploymentPhasePending ObjectDeploymentPhase = "Pending" ObjectDeploymentPhaseAvailable ObjectDeploymentPhase = "Available" ObjectDeploymentPhaseNotReady ObjectDeploymentPhase = "NotReady" ObjectDeploymentPhaseProgressing ObjectDeploymentPhase = "Progressing" )
Well-known ObjectDeployment Phases for printing a Status in kubectl, see deprecation notice in ObjectDeploymentStatus for details.
type ObjectDeploymentSpec ¶
type ObjectDeploymentSpec struct { // Number of old revisions in the form of archived ObjectSets to keep. // +kubebuilder:default=5 RevisionHistoryLimit *int `json:"revisionHistoryLimit,omitempty"` // Selector targets ObjectSets managed by this Deployment. Selector metav1.LabelSelector `json:"selector"` // Template to create new ObjectSets from. Template ObjectSetTemplate `json:"template"` }
ObjectDeploymentSpec defines the desired state of a ObjectDeployment.
func (*ObjectDeploymentSpec) DeepCopy ¶
func (in *ObjectDeploymentSpec) DeepCopy() *ObjectDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectDeploymentSpec.
func (*ObjectDeploymentSpec) DeepCopyInto ¶
func (in *ObjectDeploymentSpec) DeepCopyInto(out *ObjectDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectDeploymentStatus ¶
type ObjectDeploymentStatus struct { // Conditions is a list of status conditions ths object is in. Conditions []metav1.Condition `json:"conditions,omitempty"` // DEPRECATED: This field is not part of any API contract // it will go away as soon as kubectl can print conditions! // Human readable status - please use .Conditions from code Phase ObjectDeploymentPhase `json:"phase,omitempty"` // Count of hash collisions of the ObjectDeployment. CollisionCount *int32 `json:"collisionCount,omitempty"` // Computed TemplateHash. TemplateHash string `json:"templateHash,omitempty"` }
ObjectDeploymentStatus defines the observed state of a ObjectDeployment
func (*ObjectDeploymentStatus) DeepCopy ¶
func (in *ObjectDeploymentStatus) DeepCopy() *ObjectDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectDeploymentStatus.
func (*ObjectDeploymentStatus) DeepCopyInto ¶
func (in *ObjectDeploymentStatus) DeepCopyInto(out *ObjectDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectPhase ¶
type ObjectPhase struct { // Name of the reconcile phase. Name string `json:"name"` // Class of the underlying phase controller. Class string `json:"class,omitempty"` // Objects belonging to this phase. Objects []ObjectSetObject `json:"objects"` }
ObjectSet reconcile phase.
func (*ObjectPhase) DeepCopy ¶
func (in *ObjectPhase) DeepCopy() *ObjectPhase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectPhase.
func (*ObjectPhase) DeepCopyInto ¶
func (in *ObjectPhase) DeepCopyInto(out *ObjectPhase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSet ¶
type ObjectSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ObjectSetSpec `json:"spec,omitempty"` // +kubebuilder:default={phase:Pending} Status ObjectSetStatus `json:"status,omitempty"` }
ObjectSet reconcile a collection of objects across ordered phases and aggregate their status. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ObjectSet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSet.
func (*ObjectSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectSet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectSetLifecycleState ¶
type ObjectSetLifecycleState string
Specifies the lifecycle state of the ObjectSet.
const ( // "Active" is the default lifecycle state. ObjectSetLifecycleStateActive ObjectSetLifecycleState = "Active" // "Paused" disables reconcilation of the ObjectSet. // Only Status updates will still propagated, but object changes will not be reconciled. ObjectSetLifecycleStatePaused ObjectSetLifecycleState = "Paused" // "Archived" disables reconcilation while also "scaling to zero", // which deletes all objects that are not excluded via the pausedFor property and // removes itself from the owner list of all other objects previously under management. ObjectSetLifecycleStateArchived ObjectSetLifecycleState = "Archived" )
type ObjectSetList ¶
type ObjectSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ObjectSet `json:"items"` }
ObjectSetList contains a list of ObjectSets +kubebuilder:object:root=true
func (*ObjectSetList) DeepCopy ¶
func (in *ObjectSetList) DeepCopy() *ObjectSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetList.
func (*ObjectSetList) DeepCopyInto ¶
func (in *ObjectSetList) DeepCopyInto(out *ObjectSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectSetList) DeepCopyObject ¶
func (in *ObjectSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectSetObject ¶
type ObjectSetObject struct { // +kubebuilder:validation:EmbeddedResource // +kubebuilder:pruning:PreserveUnknownFields Object runtime.RawExtension `json:"object"` }
An object that is part of an ObjectSet.
func (*ObjectSetObject) DeepCopy ¶
func (in *ObjectSetObject) DeepCopy() *ObjectSetObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetObject.
func (*ObjectSetObject) DeepCopyInto ¶
func (in *ObjectSetObject) DeepCopyInto(out *ObjectSetObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSetPausedObject ¶
type ObjectSetPausedObject struct { // Object Kind. Kind string `json:"kind"` // Object Group. Group string `json:"group"` // Object Name. Name string `json:"name"` }
Specifies that the reconcilation of a specific object should be paused.
func (*ObjectSetPausedObject) DeepCopy ¶
func (in *ObjectSetPausedObject) DeepCopy() *ObjectSetPausedObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetPausedObject.
func (*ObjectSetPausedObject) DeepCopyInto ¶
func (in *ObjectSetPausedObject) DeepCopyInto(out *ObjectSetPausedObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSetPhase ¶
type ObjectSetPhase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ObjectSetPhaseSpec `json:"spec,omitempty"` Status ObjectSetPhaseStatus `json:"status,omitempty"` }
ObjectSetPhase is the Schema for the ObjectSetPhases API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ObjectSetPhase) DeepCopy ¶
func (in *ObjectSetPhase) DeepCopy() *ObjectSetPhase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetPhase.
func (*ObjectSetPhase) DeepCopyInto ¶
func (in *ObjectSetPhase) DeepCopyInto(out *ObjectSetPhase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectSetPhase) DeepCopyObject ¶
func (in *ObjectSetPhase) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectSetPhaseList ¶
type ObjectSetPhaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ObjectSetPhase `json:"items"` }
ObjectSetPhaseList contains a list of ObjectSetPhases +kubebuilder:object:root=true
func (*ObjectSetPhaseList) DeepCopy ¶
func (in *ObjectSetPhaseList) DeepCopy() *ObjectSetPhaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetPhaseList.
func (*ObjectSetPhaseList) DeepCopyInto ¶
func (in *ObjectSetPhaseList) DeepCopyInto(out *ObjectSetPhaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectSetPhaseList) DeepCopyObject ¶
func (in *ObjectSetPhaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectSetPhaseSpec ¶
type ObjectSetPhaseSpec struct { // Paused disables reconcilation of the ObjectSetPhase, // only Status updates will be propagated. Paused bool `json:"paused,omitempty"` // Pause reconcilation of specific objects. PausedFor []ObjectSetPausedObject `json:"pausedFor,omitempty"` // Readiness Probes check objects that are part of the package. // All probes need to succeed for a package to be considered Available. // Failing probes will prevent the reconcilation of objects in later phases. ReadinessProbes []ObjectSetProbe `json:"readinessProbes"` // Immutable fields below ObjectPhase `json:",inline"` }
ObjectSetPhaseSpec defines the desired state of a ObjectSetPhase.
func (*ObjectSetPhaseSpec) DeepCopy ¶
func (in *ObjectSetPhaseSpec) DeepCopy() *ObjectSetPhaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetPhaseSpec.
func (*ObjectSetPhaseSpec) DeepCopyInto ¶
func (in *ObjectSetPhaseSpec) DeepCopyInto(out *ObjectSetPhaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSetPhaseStatus ¶
type ObjectSetPhaseStatus struct { // Conditions is a list of status conditions ths object is in. Conditions []metav1.Condition `json:"conditions,omitempty"` // List of objects, the controller has paused reconcilation on. PausedFor []ObjectSetPausedObject `json:"pausedFor,omitempty"` }
ObjectSetPhaseStatus defines the observed state of a ObjectSetPhase
func (*ObjectSetPhaseStatus) DeepCopy ¶
func (in *ObjectSetPhaseStatus) DeepCopy() *ObjectSetPhaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetPhaseStatus.
func (*ObjectSetPhaseStatus) DeepCopyInto ¶
func (in *ObjectSetPhaseStatus) DeepCopyInto(out *ObjectSetPhaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSetProbe ¶
type ObjectSetProbe struct { // Probe configuration parameters. Probes []Probe `json:"probes"` // Selector specifies which objects this probe should target. Selector ProbeSelector `json:"selector"` }
ObjectSetProbe define how ObjectSets check their children for their status.
func (*ObjectSetProbe) DeepCopy ¶
func (in *ObjectSetProbe) DeepCopy() *ObjectSetProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetProbe.
func (*ObjectSetProbe) DeepCopyInto ¶
func (in *ObjectSetProbe) DeepCopyInto(out *ObjectSetProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSetSlice ¶
type ObjectSetSlice struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Objects belonging to this phase. Objects []ObjectSetObject `json:"objects"` }
ObjectSetSlice holds a collection of objects too large to inline into the parent ObjectSet. Multiple ObjectSetSlices may provide the storage backend for particularly large ObjectSets. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ObjectSetSlice) DeepCopy ¶
func (in *ObjectSetSlice) DeepCopy() *ObjectSetSlice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetSlice.
func (*ObjectSetSlice) DeepCopyInto ¶
func (in *ObjectSetSlice) DeepCopyInto(out *ObjectSetSlice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectSetSlice) DeepCopyObject ¶
func (in *ObjectSetSlice) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectSetSliceList ¶
type ObjectSetSliceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ObjectSetSlice `json:"items"` }
ObjectSetSliceList contains a list of ObjectSetSlices +kubebuilder:object:root=true
func (*ObjectSetSliceList) DeepCopy ¶
func (in *ObjectSetSliceList) DeepCopy() *ObjectSetSliceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetSliceList.
func (*ObjectSetSliceList) DeepCopyInto ¶
func (in *ObjectSetSliceList) DeepCopyInto(out *ObjectSetSliceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectSetSliceList) DeepCopyObject ¶
func (in *ObjectSetSliceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectSetSpec ¶
type ObjectSetSpec struct { // Specifies the lifecycle state of the ObjectSet. // +kubebuilder:default="Active" // +kubebuilder:validation:Enum=Active;Paused;Archived LifecycleState ObjectSetLifecycleState `json:"lifecycleState,omitempty"` // Pause reconcilation of specific objects, while still reporting status. PausedFor []ObjectSetPausedObject `json:"pausedFor,omitempty"` // Immutable fields below ObjectSetTemplateSpec `json:",inline"` }
ObjectSetSpec defines the desired state of a ObjectSet.
func (*ObjectSetSpec) DeepCopy ¶
func (in *ObjectSetSpec) DeepCopy() *ObjectSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetSpec.
func (*ObjectSetSpec) DeepCopyInto ¶
func (in *ObjectSetSpec) DeepCopyInto(out *ObjectSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSetStatus ¶
type ObjectSetStatus struct { // Conditions is a list of status conditions ths object is in. Conditions []metav1.Condition `json:"conditions,omitempty"` // DEPRECATED: This field is not part of any API contract // it will go away as soon as kubectl can print conditions! // Human readable status - please use .Conditions from code Phase ObjectSetStatusPhase `json:"phase,omitempty"` // List of objects, the controller has paused reconcilation on. PausedFor []ObjectSetPausedObject `json:"pausedFor,omitempty"` }
ObjectSetStatus defines the observed state of a ObjectSet
func (*ObjectSetStatus) DeepCopy ¶
func (in *ObjectSetStatus) DeepCopy() *ObjectSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetStatus.
func (*ObjectSetStatus) DeepCopyInto ¶
func (in *ObjectSetStatus) DeepCopyInto(out *ObjectSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSetStatusPhase ¶
type ObjectSetStatusPhase string
const ( ObjectSetPhasePending ObjectSetStatusPhase = "Pending" ObjectSetPhaseAvailable ObjectSetStatusPhase = "Available" ObjectSetPhaseNotReady ObjectSetStatusPhase = "NotReady" ObjectSetPhaseArchived ObjectSetStatusPhase = "Archived" )
Well-known ObjectSet Phases for printing a Status in kubectl, see deprecation notice in ObjectSetStatus for details.
type ObjectSetTemplate ¶
type ObjectSetTemplate struct { // Common Object Metadata. Metadata metav1.ObjectMeta `json:"metadata"` // ObjectSet specification. Spec ObjectSetTemplateSpec `json:"spec"` }
ObjectSetTemplate describes the template to create new ObjectSets from.
func (*ObjectSetTemplate) DeepCopy ¶
func (in *ObjectSetTemplate) DeepCopy() *ObjectSetTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetTemplate.
func (*ObjectSetTemplate) DeepCopyInto ¶
func (in *ObjectSetTemplate) DeepCopyInto(out *ObjectSetTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSetTemplateSpec ¶
type ObjectSetTemplateSpec struct { // Reconcile phase configuration for a ObjectSet. // Objects in each phase will be reconciled in order and checked with // given ReadinessProbes before continuing with the next phase. Phases []ObjectPhase `json:"phases"` // Readiness Probes check objects that are part of the package. // All probes need to succeed for a package to be considered Available. // Failing probes will prevent the reconcilation of objects in later phases. ReadinessProbes []ObjectSetProbe `json:"readinessProbes"` }
ObjectSet specification.
func (*ObjectSetTemplateSpec) DeepCopy ¶
func (in *ObjectSetTemplateSpec) DeepCopy() *ObjectSetTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSetTemplateSpec.
func (*ObjectSetTemplateSpec) DeepCopyInto ¶
func (in *ObjectSetTemplateSpec) DeepCopyInto(out *ObjectSetTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Package ¶
type Package struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PackageSpec `json:"spec,omitempty"` // +kubebuilder:default={phase:Pending} Status PackageStatus `json:"status,omitempty"` }
Package is the Schema for the Packages API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*Package) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package.
func (*Package) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Package) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageList ¶
type PackageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Package `json:"items"` }
PackageList contains a list of Packages +kubebuilder:object:root=true
func (*PackageList) DeepCopy ¶
func (in *PackageList) DeepCopy() *PackageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageList.
func (*PackageList) DeepCopyInto ¶
func (in *PackageList) DeepCopyInto(out *PackageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageList) DeepCopyObject ¶
func (in *PackageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageProbeKindSpec ¶
type PackageProbeKindSpec struct { // Object Group to apply a probe to. Group string `json:"group"` // Object Kind to apply a probe to. Kind string `json:"kind"` }
Kind package probe parameters.
func (*PackageProbeKindSpec) DeepCopy ¶
func (in *PackageProbeKindSpec) DeepCopy() *PackageProbeKindSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageProbeKindSpec.
func (*PackageProbeKindSpec) DeepCopyInto ¶
func (in *PackageProbeKindSpec) DeepCopyInto(out *PackageProbeKindSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageSourceSpec ¶
type PackageSourceSpec struct { // Package source type // +kubebuilder:validation:Enum=Image Type PackageSourceType `json:"type"` // Image registry address and tag to get the package contents from. Image *string `json:"image,omitempty"` }
func (*PackageSourceSpec) DeepCopy ¶
func (in *PackageSourceSpec) DeepCopy() *PackageSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSourceSpec.
func (*PackageSourceSpec) DeepCopyInto ¶
func (in *PackageSourceSpec) DeepCopyInto(out *PackageSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageSourceType ¶
type PackageSourceType string
const (
PackageSourceTypeImage PackageSourceType = "Image"
)
type PackageSpec ¶
type PackageSpec struct {
PackageSourceSpec `json:",inline"`
}
PackageSpec defines the desired state of a Package.
func (*PackageSpec) DeepCopy ¶
func (in *PackageSpec) DeepCopy() *PackageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSpec.
func (*PackageSpec) DeepCopyInto ¶
func (in *PackageSpec) DeepCopyInto(out *PackageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageStatus ¶
type PackageStatus struct { // Conditions is a list of status conditions ths object is in. Conditions []metav1.Condition `json:"conditions,omitempty"` // DEPRECATED: This field is not part of any API contract // it will go away as soon as kubectl can print conditions! // Human readable status - please use .Conditions from code Phase PackageStatusPhase `json:"phase,omitempty"` // Hash of the PackageSourceSpec, used to track whether a new unpack is needed. SourceHash string `json:"sourceHash,omitempty"` }
PackageStatus defines the observed state of a Package
func (*PackageStatus) DeepCopy ¶
func (in *PackageStatus) DeepCopy() *PackageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageStatus.
func (*PackageStatus) DeepCopyInto ¶
func (in *PackageStatus) DeepCopyInto(out *PackageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageStatusPhase ¶
type PackageStatusPhase string
const ( PackagePhasePending PackageStatusPhase = "Pending" PackagePhaseAvailable PackageStatusPhase = "Available" PackagePhaseProgressing PackageStatusPhase = "Progressing" PackagePhaseUnpacking PackageStatusPhase = "Unpacking" PackagePhaseNotReady PackageStatusPhase = "NotReady" )
Well-known Package Phases for printing a Status in kubectl, see deprecation notice in PackageStatus for details.
type Probe ¶
type Probe struct { // Type of the probe. // +kubebuilder:validation:Enum=Condition;FieldsEqual Type ProbeType `json:"type"` // Condition specific configuration parameters. Only present if Type = Condition. Condition *ProbeConditionSpec `json:"condition,omitempty"` FieldsEqual *ProbeFieldsEqualSpec `json:"fieldsEqual,omitempty"` }
Defines probe parameters to check parts of a package.
func (*Probe) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.
func (*Probe) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProbeConditionSpec ¶
type ProbeConditionSpec struct { // Condition Type to probe for. Type string `json:"type"` // Condition status to probe for. // +kubebuilder:default="True" Status string `json:"status"` }
Condition Probe parameters.
func (*ProbeConditionSpec) DeepCopy ¶
func (in *ProbeConditionSpec) DeepCopy() *ProbeConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeConditionSpec.
func (*ProbeConditionSpec) DeepCopyInto ¶
func (in *ProbeConditionSpec) DeepCopyInto(out *ProbeConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProbeFieldsEqualSpec ¶
Compares two fields specified by JSON Paths.
func (*ProbeFieldsEqualSpec) DeepCopy ¶
func (in *ProbeFieldsEqualSpec) DeepCopy() *ProbeFieldsEqualSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeFieldsEqualSpec.
func (*ProbeFieldsEqualSpec) DeepCopyInto ¶
func (in *ProbeFieldsEqualSpec) DeepCopyInto(out *ProbeFieldsEqualSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProbeSelector ¶
type ProbeSelector struct { // Type of the package probe. // +kubebuilder:validation:Enum=Kind Type ProbeSelectorType `json:"type"` // Kind specific configuration parameters. Only present if Type = Kind. Kind *PackageProbeKindSpec `json:"kind,omitempty"` }
func (*ProbeSelector) DeepCopy ¶
func (in *ProbeSelector) DeepCopy() *ProbeSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeSelector.
func (*ProbeSelector) DeepCopyInto ¶
func (in *ProbeSelector) DeepCopyInto(out *ProbeSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProbeSelectorType ¶
type ProbeSelectorType string
const (
ProbeSelectorKind ProbeSelectorType = "Kind"
)
Source Files ¶
- clusterobjectset_types.go
- clusterobjectsetphase_types.go
- clusterobjectsetslice_types.go
- clusterpackage_types.go
- clusterpackagedeployment_types.go
- common_types.go
- groupversion_info.go
- objectdeployment_types.go
- objectset_types.go
- objectsetphase_types.go
- objectsetslice_types.go
- package_types.go
- zz_generated.deepcopy.go