v1beta1

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: 6 Imported by: 0

Documentation

Overview

Package v1beta1 contains example API resources. +groupName=example.examples.gardener.cloud

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.SchemeBuilder

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_example_ExampleList_To_v1beta1_ExampleList

func Convert_example_ExampleList_To_v1beta1_ExampleList(in *example.ExampleList, out *ExampleList, s conversion.Scope) error

Convert_example_ExampleList_To_v1beta1_ExampleList is an autogenerated conversion function.

func Convert_example_ExampleSpec_To_v1beta1_ExampleSpec

func Convert_example_ExampleSpec_To_v1beta1_ExampleSpec(in *example.ExampleSpec, out *ExampleSpec, s conversion.Scope) error

Convert_example_ExampleSpec_To_v1beta1_ExampleSpec is an autogenerated conversion function.

func Convert_example_Example_To_v1beta1_Example

func Convert_example_Example_To_v1beta1_Example(in *example.Example, out *Example, s conversion.Scope) error

Convert_example_Example_To_v1beta1_Example is an autogenerated conversion function.

func Convert_v1beta1_ExampleList_To_example_ExampleList

func Convert_v1beta1_ExampleList_To_example_ExampleList(in *ExampleList, out *example.ExampleList, s conversion.Scope) error

Convert_v1beta1_ExampleList_To_example_ExampleList is an autogenerated conversion function.

func Convert_v1beta1_ExampleSpec_To_example_ExampleSpec

func Convert_v1beta1_ExampleSpec_To_example_ExampleSpec(in *ExampleSpec, out *example.ExampleSpec, s conversion.Scope) error

Convert_v1beta1_ExampleSpec_To_example_ExampleSpec is an autogenerated conversion function.

func Convert_v1beta1_Example_To_example_Example

func Convert_v1beta1_Example_To_example_Example(in *Example, out *example.Example, s conversion.Scope) error

Convert_v1beta1_Example_To_example_Example is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

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   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ExampleSpec `json:"spec"`
}

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 `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Example `json:"items"`
}

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 is the address of the example
	URL string `json:"URL"`
	// Data contains any data stored for this url
	// +optional
	Data *runtime.RawExtension `json:"data,omitempty"`
}

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.

Jump to

Keyboard shortcuts

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