Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type GlobalRoleBindingExpansion
- type GlobalRoleBindingInterface
- type GlobalRoleBindingsGetter
- type GlobalRoleExpansion
- type GlobalRoleInterface
- type GlobalRolesGetter
- type GroupBindingExpansion
- type GroupBindingInterface
- type GroupBindingsGetter
- type GroupExpansion
- type GroupInterface
- type GroupsGetter
- type IamV1alpha2Client
- func (c *IamV1alpha2Client) GlobalRoleBindings() GlobalRoleBindingInterface
- func (c *IamV1alpha2Client) GlobalRoles() GlobalRoleInterface
- func (c *IamV1alpha2Client) GroupBindings() GroupBindingInterface
- func (c *IamV1alpha2Client) Groups() GroupInterface
- func (c *IamV1alpha2Client) LoginRecords() LoginRecordInterface
- func (c *IamV1alpha2Client) RESTClient() rest.Interface
- func (c *IamV1alpha2Client) RoleBases() RoleBaseInterface
- func (c *IamV1alpha2Client) Users() UserInterface
- func (c *IamV1alpha2Client) WorkspaceRoleBindings() WorkspaceRoleBindingInterface
- func (c *IamV1alpha2Client) WorkspaceRoles() WorkspaceRoleInterface
- type IamV1alpha2Interface
- type LoginRecordExpansion
- type LoginRecordInterface
- type LoginRecordsGetter
- type RoleBaseExpansion
- type RoleBaseInterface
- type RoleBasesGetter
- type UserExpansion
- type UserInterface
- type UsersGetter
- type WorkspaceRoleBindingExpansion
- type WorkspaceRoleBindingInterface
- type WorkspaceRoleBindingsGetter
- type WorkspaceRoleExpansion
- type WorkspaceRoleInterface
- type WorkspaceRolesGetter
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(ctx context.Context, globalRoleBinding *v1alpha2.GlobalRoleBinding, opts v1.CreateOptions) (*v1alpha2.GlobalRoleBinding, error) Update(ctx context.Context, globalRoleBinding *v1alpha2.GlobalRoleBinding, opts v1.UpdateOptions) (*v1alpha2.GlobalRoleBinding, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.GlobalRoleBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.GlobalRoleBindingList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, globalRole *v1alpha2.GlobalRole, opts v1.CreateOptions) (*v1alpha2.GlobalRole, error) Update(ctx context.Context, globalRole *v1alpha2.GlobalRole, opts v1.UpdateOptions) (*v1alpha2.GlobalRole, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.GlobalRole, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.GlobalRoleList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, groupBinding *v1alpha2.GroupBinding, opts v1.CreateOptions) (*v1alpha2.GroupBinding, error) Update(ctx context.Context, groupBinding *v1alpha2.GroupBinding, opts v1.UpdateOptions) (*v1alpha2.GroupBinding, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.GroupBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.GroupBindingList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, group *v1alpha2.Group, opts v1.CreateOptions) (*v1alpha2.Group, error) Update(ctx context.Context, group *v1alpha2.Group, opts v1.UpdateOptions) (*v1alpha2.Group, error) UpdateStatus(ctx context.Context, group *v1alpha2.Group, opts v1.UpdateOptions) (*v1alpha2.Group, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.Group, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.GroupList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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 ¶
func New(c rest.Interface) *IamV1alpha2Client
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 IamV1alpha2Interface ¶
type IamV1alpha2Interface interface { RESTClient() rest.Interface GlobalRolesGetter GlobalRoleBindingsGetter GroupsGetter GroupBindingsGetter LoginRecordsGetter RoleBasesGetter UsersGetter WorkspaceRolesGetter WorkspaceRoleBindingsGetter }
type LoginRecordExpansion ¶
type LoginRecordExpansion interface{}
type LoginRecordInterface ¶
type LoginRecordInterface interface { Create(ctx context.Context, loginRecord *v1alpha2.LoginRecord, opts v1.CreateOptions) (*v1alpha2.LoginRecord, error) Update(ctx context.Context, loginRecord *v1alpha2.LoginRecord, opts v1.UpdateOptions) (*v1alpha2.LoginRecord, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.LoginRecord, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.LoginRecordList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, roleBase *v1alpha2.RoleBase, opts v1.CreateOptions) (*v1alpha2.RoleBase, error) Update(ctx context.Context, roleBase *v1alpha2.RoleBase, opts v1.UpdateOptions) (*v1alpha2.RoleBase, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.RoleBase, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.RoleBaseList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, user *v1alpha2.User, opts v1.CreateOptions) (*v1alpha2.User, error) Update(ctx context.Context, user *v1alpha2.User, opts v1.UpdateOptions) (*v1alpha2.User, error) UpdateStatus(ctx context.Context, user *v1alpha2.User, opts v1.UpdateOptions) (*v1alpha2.User, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.User, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.UserList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, workspaceRoleBinding *v1alpha2.WorkspaceRoleBinding, opts v1.CreateOptions) (*v1alpha2.WorkspaceRoleBinding, error) Update(ctx context.Context, workspaceRoleBinding *v1alpha2.WorkspaceRoleBinding, opts v1.UpdateOptions) (*v1alpha2.WorkspaceRoleBinding, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.WorkspaceRoleBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.WorkspaceRoleBindingList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, workspaceRole *v1alpha2.WorkspaceRole, opts v1.CreateOptions) (*v1alpha2.WorkspaceRole, error) Update(ctx context.Context, workspaceRole *v1alpha2.WorkspaceRole, opts v1.UpdateOptions) (*v1alpha2.WorkspaceRole, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.WorkspaceRole, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.WorkspaceRoleList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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.