Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: samplecontroller.GroupName, Version: "v1"}
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type SampleResource ¶
type SampleResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SampleResourceSpec `json:"spec"` }
func (*SampleResource) DeepCopy ¶
func (in *SampleResource) DeepCopy() *SampleResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleResource.
func (*SampleResource) DeepCopyInto ¶
func (in *SampleResource) DeepCopyInto(out *SampleResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SampleResource) DeepCopyObject ¶
func (in *SampleResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SampleResourceList ¶
type SampleResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []SampleResource `json:"items"` }
func (*SampleResourceList) DeepCopy ¶
func (in *SampleResourceList) DeepCopy() *SampleResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleResourceList.
func (*SampleResourceList) DeepCopyInto ¶
func (in *SampleResourceList) DeepCopyInto(out *SampleResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SampleResourceList) DeepCopyObject ¶
func (in *SampleResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SampleResourceSpec ¶
type SampleResourceSpec struct {
Time string `json:"time"`
}
func (*SampleResourceSpec) DeepCopy ¶
func (in *SampleResourceSpec) DeepCopy() *SampleResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleResourceSpec.
func (*SampleResourceSpec) DeepCopyInto ¶
func (in *SampleResourceSpec) DeepCopyInto(out *SampleResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.