v1alpha2

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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

View Source
const (
	ResourceKindWorkspaceTemplate     = "WorkspaceTemplate"
	ResourceSingularWorkspaceTemplate = "workspacetemplate"
	ResourcePluralWorkspaceTemplate   = "workspacetemplates"
)

Variables

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

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.

Jump to

Keyboard shortcuts

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