v1alpha1

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

View Source
const (
	Group   = "operator.in-cluster.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
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}
)
View Source
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

func (in *Operator) DeepCopy() *Operator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operator.

func (*Operator) DeepCopyInto

func (in *Operator) DeepCopyInto(out *Operator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Operator) DeepCopyObject

func (in *Operator) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Operator) GetCondition

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL