Documentation ¶
Overview ¶
+kubebuilder:object:generate=true
Index ¶
Constants ¶
const GroupName = "populator.storage.k8s.io"
GroupName is the group name use in this package.
Variables ¶
var ( // SchemeBuilder is the new scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds to scheme AddToScheme = SchemeBuilder.AddToScheme // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"} )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type VolumePopulator ¶
type VolumePopulator struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Kind of the data source this populator supports SourceKind metav1.GroupKind `json:"sourceKind" protobuf:"bytes,2,name=sourceKind"` }
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object VolumePopulator represents the registration for a volume populator. VolumePopulators are cluster scoped. +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="SourceKind",type=string,JSONPath=`.sourceKind`
func (*VolumePopulator) DeepCopy ¶
func (in *VolumePopulator) DeepCopy() *VolumePopulator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumePopulator.
func (*VolumePopulator) DeepCopyInto ¶
func (in *VolumePopulator) DeepCopyInto(out *VolumePopulator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumePopulator) DeepCopyObject ¶
func (in *VolumePopulator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumePopulatorList ¶
type VolumePopulatorList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of VolumePopulators Items []VolumePopulator `json:"items" protobuf:"bytes,2,rep,name=items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object VolumePopulatorList is a list of VolumePopulator objects +kubebuilder:object:root=true
func (*VolumePopulatorList) DeepCopy ¶
func (in *VolumePopulatorList) DeepCopy() *VolumePopulatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumePopulatorList.
func (*VolumePopulatorList) DeepCopyInto ¶
func (in *VolumePopulatorList) DeepCopyInto(out *VolumePopulatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumePopulatorList) DeepCopyObject ¶
func (in *VolumePopulatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.