Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the admin v1 API group +k8s:deepcopy-gen=package,register +groupName=admin.liqiang.io
Package v1 contains API Schema definitions for the admin v1 API group +k8s:deepcopy-gen=package,register +groupName=admin.liqiang.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "admin.liqiang.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AdminSpec `json:"spec,omitempty"` Status AdminStatus `json:"status,omitempty"` }
Admin is the Schema for the admins API +kubebuilder:subresource:status +kubebuilder:resource:path=admins,scope=Namespaced
func (*Admin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Admin.
func (*Admin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Admin) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AdminList ¶
type AdminList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Admin `json:"items"` }
AdminList contains a list of Admin
func (*AdminList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminList.
func (*AdminList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AdminList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AdminSpec ¶
type AdminSpec struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Email string `json:"email,omitempty"` }
AdminSpec defines the desired state of Admin
func (*AdminSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminSpec.
func (*AdminSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdminStatus ¶
type AdminStatus struct { }
AdminStatus defines the observed state of Admin
func (*AdminStatus) DeepCopy ¶
func (in *AdminStatus) DeepCopy() *AdminStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminStatus.
func (*AdminStatus) DeepCopyInto ¶
func (in *AdminStatus) DeepCopyInto(out *AdminStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.