Documentation ¶
Index ¶
Constants ¶
const GroupName = "example.examples.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Example.
func (*Example) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Example) DeepCopyObject ¶
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.