Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the tenant v1alpha2 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/fearlesschenc/kubesphere/pkg/apis/tenant +k8s:defaulter-gen=TypeMeta +groupName=tenant.kubesphere.io
Package v1alpha2 contains API Schema definitions for the tenant v1alpha2 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/fearlesschenc/kubesphere/pkg/apis/tenant +k8s:defaulter-gen=TypeMeta +groupName=tenant.kubesphere.io
Index ¶
Constants ¶
const ( ResourceKindWorkspaceTemplate = "WorkspaceTemplate" ResourceSingularWorkspaceTemplate = "workspacetemplate" ResourcePluralWorkspaceTemplate = "workspacetemplates" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "tenant.kubesphere.io", Version: "v1alpha2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type WorkspaceTemplate ¶
type WorkspaceTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec typesv1alpha1.FederatedWorkspaceSpec `json:"spec,omitempty"` }
WorkspaceTemplate is the Schema for the workspacetemplates API +k8s:openapi-gen=true +kubebuilder:resource:categories="tenant",scope="Cluster"
func (*WorkspaceTemplate) DeepCopy ¶
func (in *WorkspaceTemplate) DeepCopy() *WorkspaceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplate.
func (*WorkspaceTemplate) DeepCopyInto ¶
func (in *WorkspaceTemplate) DeepCopyInto(out *WorkspaceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceTemplate) DeepCopyObject ¶
func (in *WorkspaceTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkspaceTemplateList ¶
type WorkspaceTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WorkspaceTemplate `json:"items"` }
WorkspaceTemplateList contains a list of WorkspaceTemplate
func (*WorkspaceTemplateList) DeepCopy ¶
func (in *WorkspaceTemplateList) DeepCopy() *WorkspaceTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateList.
func (*WorkspaceTemplateList) DeepCopyInto ¶
func (in *WorkspaceTemplateList) DeepCopyInto(out *WorkspaceTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceTemplateList) DeepCopyObject ¶
func (in *WorkspaceTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.