Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the crew v1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tsungming/controller-tools/test/pkg/apis/crew +k8s:defaulter-gen=TypeMeta +groupName=crew.k8s.io
Package v1 contains API Schema definitions for the crew v1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tsungming/controller-tools/test/pkg/apis/crew +k8s:defaulter-gen=TypeMeta +groupName=crew.k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder adds new types to a Scheme SchemeBuilder = runtime.NewSchemeBuilder(func(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, KnownTypes...) metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil }) // AddToScheme adds types to a Scheme AddToScheme = SchemeBuilder.AddToScheme )
var KnownTypes = []runtime.Object{}
KnownTypes is a collection of types to register with a Scheme
var SchemeGroupVersion = schema.GroupVersion{Group: "crew.k8s.io", 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 FirstMate ¶
type FirstMate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FirstMateSpec `json:"spec,omitempty"` Status FirstMateStatus `json:"status,omitempty"` }
FirstMate is the Schema for the firstmates API +k8s:openapi-gen=true
type FirstMateList ¶
type FirstMateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FirstMate `json:"items"` }
FirstMateList contains a list of FirstMate
type FirstMateSpec ¶
type FirstMateSpec struct { }
FirstMateSpec defines the desired state of FirstMate
type FirstMateStatus ¶
type FirstMateStatus struct { }
FirstMateStatus defines the observed state of FirstMate