v1alpha1

package
v0.0.0-...-71390ce Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the samples v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/crossplaneio/sample-stack/pkg/apis/samples +k8s:defaulter-gen=TypeMeta +groupName=samples.upbound.io

Package v1alpha1 contains API Schema definitions for the samples v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/crossplaneio/sample-stack/pkg/apis/samples +k8s:defaulter-gen=TypeMeta +groupName=samples.upbound.io

Index

Constants

View Source
const (
	Group                = "samples.upbound.io"
	Version              = "v1alpha1"
	APIVersion           = Group + "/" + Version
	MyTypeKind           = "mytype"
	MyTypeKindAPIVersion = MyTypeKind + "." + APIVersion
)

Kubernetes Group, Version, and Kind metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "samples.upbound.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type Mytype

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

	Spec   MytypeSpec   `json:"spec,omitempty"`
	Status MytypeStatus `json:"status,omitempty"`
}

Mytype is the Schema for the mytypes API +k8s:openapi-gen=true

func (*Mytype) DeepCopy

func (in *Mytype) DeepCopy() *Mytype

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

func (*Mytype) DeepCopyInto

func (in *Mytype) DeepCopyInto(out *Mytype)

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

func (*Mytype) DeepCopyObject

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

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

type MytypeList

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

MytypeList contains a list of Mytype

func (*MytypeList) DeepCopy

func (in *MytypeList) DeepCopy() *MytypeList

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

func (*MytypeList) DeepCopyInto

func (in *MytypeList) DeepCopyInto(out *MytypeList)

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

func (*MytypeList) DeepCopyObject

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

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

type MytypeSpec

type MytypeSpec struct {
}

MytypeSpec defines the desired state of Mytype

func (*MytypeSpec) DeepCopy

func (in *MytypeSpec) DeepCopy() *MytypeSpec

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

func (*MytypeSpec) DeepCopyInto

func (in *MytypeSpec) DeepCopyInto(out *MytypeSpec)

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

type MytypeStatus

type MytypeStatus struct {
}

MytypeStatus defines the observed state of Mytype

func (*MytypeStatus) DeepCopy

func (in *MytypeStatus) DeepCopy() *MytypeStatus

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

func (*MytypeStatus) DeepCopyInto

func (in *MytypeStatus) DeepCopyInto(out *MytypeStatus)

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