Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=cr.example.apiextensions.k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: cr.GroupName, Version: "v1"}
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 `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ExampleSpec `json:"spec"` Status ExampleStatus `json:"status,omitempty"` }
Example is a specification for an Example 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 `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Example `json:"items"` }
ExampleList is a list of Example resources
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 ¶
ExampleSpec is the spec for an Example resource
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.
type ExampleState ¶
type ExampleState string
const ( ExampleStateCreated ExampleState = "Created" ExampleStateProcessed ExampleState = "Processed" )
type ExampleStatus ¶
type ExampleStatus struct { State ExampleState `json:"state,omitempty"` Message string `json:"message,omitempty"` }
ExampleStatus is the status for an Example resource
func (*ExampleStatus) DeepCopy ¶
func (in *ExampleStatus) DeepCopy() *ExampleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleStatus.
func (*ExampleStatus) DeepCopyInto ¶
func (in *ExampleStatus) DeepCopyInto(out *ExampleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.