v1

package
v0.0.0-...-1adc09a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

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

View Source
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

func (in *Admin) DeepCopy() *Admin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Admin.

func (*Admin) DeepCopyInto

func (in *Admin) DeepCopyInto(out *Admin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Admin) DeepCopyObject

func (in *Admin) DeepCopyObject() runtime.Object

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

func (in *AdminList) DeepCopy() *AdminList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminList.

func (*AdminList) DeepCopyInto

func (in *AdminList) DeepCopyInto(out *AdminList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AdminList) DeepCopyObject

func (in *AdminList) DeepCopyObject() runtime.Object

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

func (in *AdminSpec) DeepCopy() *AdminSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminSpec.

func (*AdminSpec) DeepCopyInto

func (in *AdminSpec) DeepCopyInto(out *AdminSpec)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL