v1alpha1

package
v0.0.0-...-5857e65 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the Template provider. +kubebuilder:object:generate=true +groupName=load.stormforge.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "load.stormforge.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 (
	TestCaseKind             = reflect.TypeOf(TestCase{}).Name()
	TestCaseGroupKind        = schema.GroupKind{Group: Group, Kind: TestCaseKind}.String()
	TestCaseKindAPIVersion   = TestCaseKind + "." + SchemeGroupVersion.String()
	TestCaseGroupVersionKind = SchemeGroupVersion.WithKind(TestCaseKind)
)

MyType type metadata.

Functions

This section is empty.

Types

type TestCase

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

	Spec   TestCaseSpec   `json:"spec"`
	Status TestCaseStatus `json:"status,omitempty"`
}

A MyType is an example API type. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.state" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" Please replace `PROVIDER-NAME` with your actual provider name, like `aws`, `azure`, `gcp`, `alibaba` +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,stormforge}

func (*TestCase) DeepCopy

func (in *TestCase) DeepCopy() *TestCase

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

func (*TestCase) DeepCopyInto

func (in *TestCase) DeepCopyInto(out *TestCase)

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

func (*TestCase) DeepCopyObject

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

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

func (*TestCase) GetCondition

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

GetCondition of this TestCase.

func (*TestCase) GetDeletionPolicy

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

GetDeletionPolicy of this TestCase.

func (*TestCase) GetProviderConfigReference

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

GetProviderConfigReference of this TestCase.

func (*TestCase) GetProviderReference

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

GetProviderReference of this TestCase. Deprecated: Use GetProviderConfigReference.

func (*TestCase) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TestCase.

func (*TestCase) SetConditions

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

SetConditions of this TestCase.

func (*TestCase) SetDeletionPolicy

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

SetDeletionPolicy of this TestCase.

func (*TestCase) SetProviderConfigReference

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

SetProviderConfigReference of this TestCase.

func (*TestCase) SetProviderReference

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

SetProviderReference of this TestCase. Deprecated: Use SetProviderConfigReference.

func (*TestCase) SetWriteConnectionSecretToReference

func (mg *TestCase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this TestCase.

type TestCaseList

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

MyTypeList contains a list of MyType

func (*TestCaseList) DeepCopy

func (in *TestCaseList) DeepCopy() *TestCaseList

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

func (*TestCaseList) DeepCopyInto

func (in *TestCaseList) DeepCopyInto(out *TestCaseList)

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

func (*TestCaseList) DeepCopyObject

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

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

func (*TestCaseList) GetItems

func (l *TestCaseList) GetItems() []resource.Managed

GetItems of this TestCaseList.

type TestCaseObservation

type TestCaseObservation struct {
	ObservableField string `json:"observableField,omitempty"`
}

MyTypeObservation are the observable fields of a MyType.

func (*TestCaseObservation) DeepCopy

func (in *TestCaseObservation) DeepCopy() *TestCaseObservation

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

func (*TestCaseObservation) DeepCopyInto

func (in *TestCaseObservation) DeepCopyInto(out *TestCaseObservation)

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

type TestCaseParameters

type TestCaseParameters struct {
	Name string `json:"name"`
	Org  string `json:"org"`
}

MyTypeParameters are the configurable fields of a MyType.

func (*TestCaseParameters) DeepCopy

func (in *TestCaseParameters) DeepCopy() *TestCaseParameters

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

func (*TestCaseParameters) DeepCopyInto

func (in *TestCaseParameters) DeepCopyInto(out *TestCaseParameters)

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

type TestCaseSpec

type TestCaseSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       TestCaseParameters `json:"forProvider"`
}

A TestCaseSpec defines the desired state of a MyType.

func (*TestCaseSpec) DeepCopy

func (in *TestCaseSpec) DeepCopy() *TestCaseSpec

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

func (*TestCaseSpec) DeepCopyInto

func (in *TestCaseSpec) DeepCopyInto(out *TestCaseSpec)

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

type TestCaseStatus

type TestCaseStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          TestCaseObservation `json:"atProvider,omitempty"`
}

A TestCaseStatus represents the observed state of a MyType.

func (*TestCaseStatus) DeepCopy

func (in *TestCaseStatus) DeepCopy() *TestCaseStatus

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

func (*TestCaseStatus) DeepCopyInto

func (in *TestCaseStatus) DeepCopyInto(out *TestCaseStatus)

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