Documentation
¶
Overview ¶
Package v1alpha1 contains the OLM resources of the in-cluster provider. +kubebuilder:object:generate=true +groupName=operator.in-cluster.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Operator
- func (in *Operator) DeepCopy() *Operator
- func (in *Operator) DeepCopyInto(out *Operator)
- func (in *Operator) DeepCopyObject() runtime.Object
- func (mg *Operator) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *Operator) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy
- func (mg *Operator) GetProviderConfigReference() *runtimev1alpha1.Reference
- func (mg *Operator) GetProviderReference() *runtimev1alpha1.Reference
- func (mg *Operator) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *Operator) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *Operator) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)
- func (mg *Operator) SetProviderConfigReference(r *runtimev1alpha1.Reference)
- func (mg *Operator) SetProviderReference(r *runtimev1alpha1.Reference)
- func (mg *Operator) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- type OperatorList
- type OperatorParameters
- type OperatorSpec
- type OperatorStatus
Constants ¶
const ( Group = "operator.in-cluster.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( OperatorKind = reflect.TypeOf(Operator{}).Name() OperatorGroupKind = schema.GroupKind{Group: Group, Kind: OperatorKind}.String() OperatorKindAPIVersion = OperatorKind + "." + SchemeGroupVersion.String() OperatorGroupVersionKind = SchemeGroupVersion.WithKind(OperatorKind) )
Provider type metadata.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec OperatorSpec `json:"spec"`
Status OperatorStatus `json:"status,omitempty"`
}
An Operator is a managed resource that represents an OLM Operator. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}
func (*Operator) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operator.
func (*Operator) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Operator) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Operator) GetCondition ¶
func (mg *Operator) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
GetCondition of this Operator.
func (*Operator) GetDeletionPolicy ¶
func (mg *Operator) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy
GetDeletionPolicy of this Operator.
func (*Operator) GetProviderConfigReference ¶
func (mg *Operator) GetProviderConfigReference() *runtimev1alpha1.Reference
GetProviderConfigReference of this Operator.
func (*Operator) GetProviderReference ¶
func (mg *Operator) GetProviderReference() *runtimev1alpha1.Reference
GetProviderReference of this Operator. Deprecated: Use GetProviderConfigReference.
func (*Operator) GetWriteConnectionSecretToReference ¶
func (mg *Operator) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
GetWriteConnectionSecretToReference of this Operator.
func (*Operator) SetConditions ¶
func (mg *Operator) SetConditions(c ...runtimev1alpha1.Condition)
SetConditions of this Operator.
func (*Operator) SetDeletionPolicy ¶
func (mg *Operator) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)
SetDeletionPolicy of this Operator.
func (*Operator) SetProviderConfigReference ¶
func (mg *Operator) SetProviderConfigReference(r *runtimev1alpha1.Reference)
SetProviderConfigReference of this Operator.
func (*Operator) SetProviderReference ¶
func (mg *Operator) SetProviderReference(r *runtimev1alpha1.Reference)
SetProviderReference of this Operator. Deprecated: Use SetProviderConfigReference.
func (*Operator) SetWriteConnectionSecretToReference ¶
func (mg *Operator) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
SetWriteConnectionSecretToReference of this Operator.
type OperatorList ¶
type OperatorList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Operator `json:"items"`
}
OperatorList contains a list of Operators
func (*OperatorList) DeepCopy ¶
func (in *OperatorList) DeepCopy() *OperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorList.
func (*OperatorList) DeepCopyInto ¶
func (in *OperatorList) DeepCopyInto(out *OperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperatorList) DeepCopyObject ¶
func (in *OperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OperatorList) GetItems ¶
func (l *OperatorList) GetItems() []resource.Managed
GetItems of this OperatorList.
type OperatorParameters ¶
type OperatorParameters struct {
// +immutable
OperatorName string `json:"operatorName"`
// +immutable
CatalogSource string `json:"catalogSource"`
// +immutable
CatalogSourceNamespace string `json:"catalogSourceNamespace"`
// +immutable
Channel string `json:"channel"`
}
OperatorParameters contains the user defined values for an operator.
func (*OperatorParameters) DeepCopy ¶
func (in *OperatorParameters) DeepCopy() *OperatorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorParameters.
func (*OperatorParameters) DeepCopyInto ¶
func (in *OperatorParameters) DeepCopyInto(out *OperatorParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperatorSpec ¶
type OperatorSpec struct {
runtimev1alpha1.ResourceSpec `json:",inline"`
ForProvider OperatorParameters `json:"forProvider"`
}
An OperatorSpec defines the desired state of an Operator.
func (*OperatorSpec) DeepCopy ¶
func (in *OperatorSpec) DeepCopy() *OperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorSpec.
func (*OperatorSpec) DeepCopyInto ¶
func (in *OperatorSpec) DeepCopyInto(out *OperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperatorStatus ¶
type OperatorStatus struct {
runtimev1alpha1.ResourceStatus `json:",inline"`
}
An OperatorStatus represents the observed state of an Operator.
func (*OperatorStatus) DeepCopy ¶
func (in *OperatorStatus) DeepCopy() *OperatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorStatus.
func (*OperatorStatus) DeepCopyInto ¶
func (in *OperatorStatus) DeepCopyInto(out *OperatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.