example

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "example.examples.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Example

type Example struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec ExampleSpec
}

Example is an example for a custom resource.

func (*Example) DeepCopy

func (in *Example) DeepCopy() *Example

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

func (*Example) DeepCopyInto

func (in *Example) DeepCopyInto(out *Example)

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

func (*Example) DeepCopyObject

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

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

type ExampleList

type ExampleList struct {
	metav1.TypeMeta
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	metav1.ListMeta
	Items []Example
}

func (*ExampleList) DeepCopy

func (in *ExampleList) DeepCopy() *ExampleList

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

func (*ExampleList) DeepCopyInto

func (in *ExampleList) DeepCopyInto(out *ExampleList)

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

func (*ExampleList) DeepCopyObject

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

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

type ExampleSpec

type ExampleSpec struct {
	URL string

	// Data contains any data stored for this url
	Data *runtime.RawExtension
}

ExampleSpec is the specification for an example object.

func (*ExampleSpec) DeepCopy

func (in *ExampleSpec) DeepCopy() *ExampleSpec

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

func (*ExampleSpec) DeepCopyInto

func (in *ExampleSpec) DeepCopyInto(out *ExampleSpec)

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

Directories

Path Synopsis
Package v1alpha1 contains example API resources.
Package v1alpha1 contains example API resources.
Package v1beta1 contains example API resources.
Package v1beta1 contains example API resources.

Jump to

Keyboard shortcuts

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