v1alpha1

package
v0.0.0-...-1b583ea Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API types that extend the Crossplane API. +kubebuilder:object:generate=true +groupName=test.example.com +versionName=v1alpha1

Index

Constants

View Source
const (
	XRDGroup   = "test.example.com"
	XRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	XExampleKind             = "XExample"
	XExampleGroupKind        = schema.GroupKind{Group: XRDGroup, Kind: XExampleKind}.String()
	XExampleKindAPIVersion   = XExampleKind + "." + GroupVersion.String()
	XExampleGroupVersionKind = GroupVersion.WithKind(XExampleKind)
)

Repository type metadata.

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: XRDGroup, Version: XRDVersion}

	// 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 XExample

type XExample struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   XExampleSpec   `json:"spec"`
	Status XExampleStatus `json:"status,omitempty"`
}

+kubebuilder:resource:scope=Cluster,categories=crossplane +kubebuilder:subresource:status +crossbuilder:generate:xrd:claimNames:kind=Example,plural=examples +crossbuilder:generate:xrd:defaultCompositionRef:name=example-composition +crossbuilder:generate:xrd:enforcedCompositionRef:name=example-composition-2 +crossbuilder:generate:xrd:connectionSecretKeys={username,password}

func (*XExample) DeepCopy

func (in *XExample) DeepCopy() *XExample

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

func (*XExample) DeepCopyInto

func (in *XExample) DeepCopyInto(out *XExample)

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

func (*XExample) DeepCopyObject

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

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

type XExampleList

type XExampleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []XExample `json:"items"`
}

func (*XExampleList) DeepCopy

func (in *XExampleList) DeepCopy() *XExampleList

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

func (*XExampleList) DeepCopyInto

func (in *XExampleList) DeepCopyInto(out *XExampleList)

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

func (*XExampleList) DeepCopyObject

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

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

type XExampleParameters

type XExampleParameters struct {
	ExampleField string `json:"exampleField"`
}

func (*XExampleParameters) DeepCopy

func (in *XExampleParameters) DeepCopy() *XExampleParameters

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

func (*XExampleParameters) DeepCopyInto

func (in *XExampleParameters) DeepCopyInto(out *XExampleParameters)

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

type XExampleSpec

type XExampleSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	Parameters        XExampleParameters `json:"parameters"`
}

func (*XExampleSpec) DeepCopy

func (in *XExampleSpec) DeepCopy() *XExampleSpec

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

func (*XExampleSpec) DeepCopyInto

func (in *XExampleSpec) DeepCopyInto(out *XExampleSpec)

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

type XExampleStatus

type XExampleStatus struct {
	xpv1.ConditionedStatus `json:",inline"`
}

func (*XExampleStatus) DeepCopy

func (in *XExampleStatus) DeepCopy() *XExampleStatus

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

func (*XExampleStatus) DeepCopyInto

func (in *XExampleStatus) DeepCopyInto(out *XExampleStatus)

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