v1alpha2

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TenantV1alpha2Client

type TenantV1alpha2Client struct {
	// contains filtered or unexported fields
}

TenantV1alpha2Client is used to interact with features provided by the tenant.kubesphere.io group.

func New

New creates a new TenantV1alpha2Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*TenantV1alpha2Client, error)

NewForConfig creates a new TenantV1alpha2Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *TenantV1alpha2Client

NewForConfigOrDie creates a new TenantV1alpha2Client for the given config and panics if there is an error in the config.

func (*TenantV1alpha2Client) RESTClient

func (c *TenantV1alpha2Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*TenantV1alpha2Client) WorkspaceTemplates

func (c *TenantV1alpha2Client) WorkspaceTemplates() WorkspaceTemplateInterface

type TenantV1alpha2Interface

type TenantV1alpha2Interface interface {
	RESTClient() rest.Interface
	WorkspaceTemplatesGetter
}

type WorkspaceTemplateExpansion

type WorkspaceTemplateExpansion interface{}

type WorkspaceTemplateInterface

type WorkspaceTemplateInterface interface {
	Create(*v1alpha2.WorkspaceTemplate) (*v1alpha2.WorkspaceTemplate, error)
	Update(*v1alpha2.WorkspaceTemplate) (*v1alpha2.WorkspaceTemplate, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha2.WorkspaceTemplate, error)
	List(opts v1.ListOptions) (*v1alpha2.WorkspaceTemplateList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.WorkspaceTemplate, err error)
	WorkspaceTemplateExpansion
}

WorkspaceTemplateInterface has methods to work with WorkspaceTemplate resources.

type WorkspaceTemplatesGetter

type WorkspaceTemplatesGetter interface {
	WorkspaceTemplates() WorkspaceTemplateInterface
}

WorkspaceTemplatesGetter has a method to return a WorkspaceTemplateInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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