v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the NatsSecrets provider. +kubebuilder:object:generate=true +groupName=issue.natssecrets.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "issue.natssecrets.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)
)

Operator 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"`
}

A Operator is an example API type. +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +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:printcolumn:name="NKEY",type="string",priority=1,JSONPath=".status.atProvider.nkey" +kubebuilder:printcolumn:name="JWT",type="string",priority=1,JSONPath=".status.atProvider.jwt" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,natssecrets}

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

func (mg *Operator) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Operator.

func (*Operator) GetDeletionPolicy

func (mg *Operator) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Operator.

func (*Operator) GetProviderConfigReference

func (mg *Operator) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Operator.

func (*Operator) GetProviderReference

func (mg *Operator) GetProviderReference() *xpv1.Reference

GetProviderReference of this Operator. Deprecated: Use GetProviderConfigReference.

func (*Operator) GetPublishConnectionDetailsTo

func (mg *Operator) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Operator.

func (*Operator) GetWriteConnectionSecretToReference

func (mg *Operator) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Operator.

func (*Operator) SetConditions

func (mg *Operator) SetConditions(c ...xpv1.Condition)

SetConditions of this Operator.

func (*Operator) SetDeletionPolicy

func (mg *Operator) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Operator.

func (*Operator) SetProviderConfigReference

func (mg *Operator) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Operator.

func (*Operator) SetProviderReference

func (mg *Operator) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Operator. Deprecated: Use SetProviderConfigReference.

func (*Operator) SetPublishConnectionDetailsTo

func (mg *Operator) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Operator.

func (*Operator) SetWriteConnectionSecretToReference

func (mg *Operator) SetWriteConnectionSecretToReference(r *xpv1.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 Operator

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 OperatorObservation

type OperatorObservation struct {
	Operator string `json:"operator,omitempty"`
	Issue    string `json:"issue,omitempty"`
	NKey     string `json:"nkey,omitempty"`
	JWT      string `json:"jwt,omitempty"`
	NKeyPath string `json:"nkeyPath,omitempty"`
	JWTPath  string `json:"jwtPath,omitempty"`
}

OperatorObservation are the observable fields of a Operator.

func (*OperatorObservation) DeepCopy

func (in *OperatorObservation) DeepCopy() *OperatorObservation

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

func (*OperatorObservation) DeepCopyInto

func (in *OperatorObservation) DeepCopyInto(out *OperatorObservation)

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

type OperatorParameters

type OperatorParameters struct {
	// +kubebuilder:validation:Optional
	CreateSystemAccount bool `json:"createSystemAccount,omitempty"`
	// +kubebuilder:validation:Optional
	SyncAccountServer bool `json:"syncAccountServer,omitempty"`
	// +kubebuilder:validation:Optional
	Claims operatorv1.OperatorClaims `json:"claims,omitempty"`
}

OperatorParameters are the configurable fields of 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 {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       OperatorParameters `json:"forProvider"`
}

A OperatorSpec defines the desired state of a 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 {
	xpv1.ResourceStatus `json:",inline"`

	AtProvider OperatorObservation `json:"atProvider,omitempty"`

	// Status of this instance.
	Status string `json:"status,omitempty"`
}

A OperatorStatus represents the observed state of a 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