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 GlobalRoleBindingExpansion

type GlobalRoleBindingExpansion interface{}

type GlobalRoleBindingInterface

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

GlobalRoleBindingInterface has methods to work with GlobalRoleBinding resources.

type GlobalRoleBindingsGetter

type GlobalRoleBindingsGetter interface {
	GlobalRoleBindings() GlobalRoleBindingInterface
}

GlobalRoleBindingsGetter has a method to return a GlobalRoleBindingInterface. A group's client should implement this interface.

type GlobalRoleExpansion

type GlobalRoleExpansion interface{}

type GlobalRoleInterface

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

GlobalRoleInterface has methods to work with GlobalRole resources.

type GlobalRolesGetter

type GlobalRolesGetter interface {
	GlobalRoles() GlobalRoleInterface
}

GlobalRolesGetter has a method to return a GlobalRoleInterface. A group's client should implement this interface.

type GroupBindingExpansion

type GroupBindingExpansion interface{}

type GroupBindingInterface

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

GroupBindingInterface has methods to work with GroupBinding resources.

type GroupBindingsGetter

type GroupBindingsGetter interface {
	GroupBindings() GroupBindingInterface
}

GroupBindingsGetter has a method to return a GroupBindingInterface. A group's client should implement this interface.

type GroupExpansion

type GroupExpansion interface{}

type GroupInterface

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

GroupInterface has methods to work with Group resources.

type GroupsGetter

type GroupsGetter interface {
	Groups() GroupInterface
}

GroupsGetter has a method to return a GroupInterface. A group's client should implement this interface.

type IamV1alpha2Client

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

IamV1alpha2Client is used to interact with features provided by the iam.kubesphere.io group.

func New

New creates a new IamV1alpha2Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new IamV1alpha2Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *IamV1alpha2Client

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

func (*IamV1alpha2Client) GlobalRoleBindings

func (c *IamV1alpha2Client) GlobalRoleBindings() GlobalRoleBindingInterface

func (*IamV1alpha2Client) GlobalRoles

func (c *IamV1alpha2Client) GlobalRoles() GlobalRoleInterface

func (*IamV1alpha2Client) GroupBindings

func (c *IamV1alpha2Client) GroupBindings() GroupBindingInterface

func (*IamV1alpha2Client) Groups

func (c *IamV1alpha2Client) Groups() GroupInterface

func (*IamV1alpha2Client) LoginRecords

func (c *IamV1alpha2Client) LoginRecords() LoginRecordInterface

func (*IamV1alpha2Client) RESTClient

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

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

func (*IamV1alpha2Client) RoleBases

func (c *IamV1alpha2Client) RoleBases() RoleBaseInterface

func (*IamV1alpha2Client) Users

func (c *IamV1alpha2Client) Users() UserInterface

func (*IamV1alpha2Client) WorkspaceRoleBindings

func (c *IamV1alpha2Client) WorkspaceRoleBindings() WorkspaceRoleBindingInterface

func (*IamV1alpha2Client) WorkspaceRoles

func (c *IamV1alpha2Client) WorkspaceRoles() WorkspaceRoleInterface

type LoginRecordExpansion

type LoginRecordExpansion interface{}

type LoginRecordInterface

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

LoginRecordInterface has methods to work with LoginRecord resources.

type LoginRecordsGetter

type LoginRecordsGetter interface {
	LoginRecords() LoginRecordInterface
}

LoginRecordsGetter has a method to return a LoginRecordInterface. A group's client should implement this interface.

type RoleBaseExpansion

type RoleBaseExpansion interface{}

type RoleBaseInterface

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

RoleBaseInterface has methods to work with RoleBase resources.

type RoleBasesGetter

type RoleBasesGetter interface {
	RoleBases() RoleBaseInterface
}

RoleBasesGetter has a method to return a RoleBaseInterface. A group's client should implement this interface.

type UserExpansion

type UserExpansion interface{}

type UserInterface

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

UserInterface has methods to work with User resources.

type UsersGetter

type UsersGetter interface {
	Users() UserInterface
}

UsersGetter has a method to return a UserInterface. A group's client should implement this interface.

type WorkspaceRoleBindingExpansion

type WorkspaceRoleBindingExpansion interface{}

type WorkspaceRoleBindingInterface

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

WorkspaceRoleBindingInterface has methods to work with WorkspaceRoleBinding resources.

type WorkspaceRoleBindingsGetter

type WorkspaceRoleBindingsGetter interface {
	WorkspaceRoleBindings() WorkspaceRoleBindingInterface
}

WorkspaceRoleBindingsGetter has a method to return a WorkspaceRoleBindingInterface. A group's client should implement this interface.

type WorkspaceRoleExpansion

type WorkspaceRoleExpansion interface{}

type WorkspaceRoleInterface

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

WorkspaceRoleInterface has methods to work with WorkspaceRole resources.

type WorkspaceRolesGetter

type WorkspaceRolesGetter interface {
	WorkspaceRoles() WorkspaceRoleInterface
}

WorkspaceRolesGetter has a method to return a WorkspaceRoleInterface. 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