Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type BastionhostV1alpha1Client
- func (c *BastionhostV1alpha1Client) HostAccountUserAttachments(namespace string) HostAccountUserAttachmentInterface
- func (c *BastionhostV1alpha1Client) HostAccountUserGroupAttachments(namespace string) HostAccountUserGroupAttachmentInterface
- func (c *BastionhostV1alpha1Client) HostAccounts(namespace string) HostAccountInterface
- func (c *BastionhostV1alpha1Client) HostAttachments(namespace string) HostAttachmentInterface
- func (c *BastionhostV1alpha1Client) HostGroupAccountUserAttachments(namespace string) HostGroupAccountUserAttachmentInterface
- func (c *BastionhostV1alpha1Client) HostGroupAccountUserGroupAttachments(namespace string) HostGroupAccountUserGroupAttachmentInterface
- func (c *BastionhostV1alpha1Client) HostGroups(namespace string) HostGroupInterface
- func (c *BastionhostV1alpha1Client) Hosts(namespace string) HostInterface
- func (c *BastionhostV1alpha1Client) Instances(namespace string) InstanceInterface
- func (c *BastionhostV1alpha1Client) RESTClient() rest.Interface
- func (c *BastionhostV1alpha1Client) UserAttachments(namespace string) UserAttachmentInterface
- func (c *BastionhostV1alpha1Client) UserGroups(namespace string) UserGroupInterface
- func (c *BastionhostV1alpha1Client) Users(namespace string) UserInterface
- type BastionhostV1alpha1Interface
- type HostAccountExpansion
- type HostAccountInterface
- type HostAccountUserAttachmentExpansion
- type HostAccountUserAttachmentInterface
- type HostAccountUserAttachmentsGetter
- type HostAccountUserGroupAttachmentExpansion
- type HostAccountUserGroupAttachmentInterface
- type HostAccountUserGroupAttachmentsGetter
- type HostAccountsGetter
- type HostAttachmentExpansion
- type HostAttachmentInterface
- type HostAttachmentsGetter
- type HostExpansion
- type HostGroupAccountUserAttachmentExpansion
- type HostGroupAccountUserAttachmentInterface
- type HostGroupAccountUserAttachmentsGetter
- type HostGroupAccountUserGroupAttachmentExpansion
- type HostGroupAccountUserGroupAttachmentInterface
- type HostGroupAccountUserGroupAttachmentsGetter
- type HostGroupExpansion
- type HostGroupInterface
- type HostGroupsGetter
- type HostInterface
- type HostsGetter
- type InstanceExpansion
- type InstanceInterface
- type InstancesGetter
- type UserAttachmentExpansion
- type UserAttachmentInterface
- type UserAttachmentsGetter
- type UserExpansion
- type UserGroupExpansion
- type UserGroupInterface
- type UserGroupsGetter
- type UserInterface
- type UsersGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BastionhostV1alpha1Client ¶
type BastionhostV1alpha1Client struct {
// contains filtered or unexported fields
}
BastionhostV1alpha1Client is used to interact with features provided by the bastionhost.alicloud.kubeform.com group.
func New ¶
func New(c rest.Interface) *BastionhostV1alpha1Client
New creates a new BastionhostV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*BastionhostV1alpha1Client, error)
NewForConfig creates a new BastionhostV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *BastionhostV1alpha1Client
NewForConfigOrDie creates a new BastionhostV1alpha1Client for the given config and panics if there is an error in the config.
func (*BastionhostV1alpha1Client) HostAccountUserAttachments ¶
func (c *BastionhostV1alpha1Client) HostAccountUserAttachments(namespace string) HostAccountUserAttachmentInterface
func (*BastionhostV1alpha1Client) HostAccountUserGroupAttachments ¶
func (c *BastionhostV1alpha1Client) HostAccountUserGroupAttachments(namespace string) HostAccountUserGroupAttachmentInterface
func (*BastionhostV1alpha1Client) HostAccounts ¶
func (c *BastionhostV1alpha1Client) HostAccounts(namespace string) HostAccountInterface
func (*BastionhostV1alpha1Client) HostAttachments ¶
func (c *BastionhostV1alpha1Client) HostAttachments(namespace string) HostAttachmentInterface
func (*BastionhostV1alpha1Client) HostGroupAccountUserAttachments ¶
func (c *BastionhostV1alpha1Client) HostGroupAccountUserAttachments(namespace string) HostGroupAccountUserAttachmentInterface
func (*BastionhostV1alpha1Client) HostGroupAccountUserGroupAttachments ¶
func (c *BastionhostV1alpha1Client) HostGroupAccountUserGroupAttachments(namespace string) HostGroupAccountUserGroupAttachmentInterface
func (*BastionhostV1alpha1Client) HostGroups ¶
func (c *BastionhostV1alpha1Client) HostGroups(namespace string) HostGroupInterface
func (*BastionhostV1alpha1Client) Hosts ¶
func (c *BastionhostV1alpha1Client) Hosts(namespace string) HostInterface
func (*BastionhostV1alpha1Client) Instances ¶
func (c *BastionhostV1alpha1Client) Instances(namespace string) InstanceInterface
func (*BastionhostV1alpha1Client) RESTClient ¶
func (c *BastionhostV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*BastionhostV1alpha1Client) UserAttachments ¶
func (c *BastionhostV1alpha1Client) UserAttachments(namespace string) UserAttachmentInterface
func (*BastionhostV1alpha1Client) UserGroups ¶
func (c *BastionhostV1alpha1Client) UserGroups(namespace string) UserGroupInterface
func (*BastionhostV1alpha1Client) Users ¶
func (c *BastionhostV1alpha1Client) Users(namespace string) UserInterface
type BastionhostV1alpha1Interface ¶
type BastionhostV1alpha1Interface interface { RESTClient() rest.Interface HostsGetter HostAccountsGetter HostAccountUserAttachmentsGetter HostAccountUserGroupAttachmentsGetter HostAttachmentsGetter HostGroupsGetter HostGroupAccountUserAttachmentsGetter HostGroupAccountUserGroupAttachmentsGetter InstancesGetter UsersGetter UserAttachmentsGetter UserGroupsGetter }
type HostAccountExpansion ¶
type HostAccountExpansion interface{}
type HostAccountInterface ¶
type HostAccountInterface interface { Create(ctx context.Context, hostAccount *v1alpha1.HostAccount, opts v1.CreateOptions) (*v1alpha1.HostAccount, error) Update(ctx context.Context, hostAccount *v1alpha1.HostAccount, opts v1.UpdateOptions) (*v1alpha1.HostAccount, error) UpdateStatus(ctx context.Context, hostAccount *v1alpha1.HostAccount, opts v1.UpdateOptions) (*v1alpha1.HostAccount, 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) (*v1alpha1.HostAccount, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HostAccountList, 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 *v1alpha1.HostAccount, err error) HostAccountExpansion }
HostAccountInterface has methods to work with HostAccount resources.
type HostAccountUserAttachmentExpansion ¶
type HostAccountUserAttachmentExpansion interface{}
type HostAccountUserAttachmentInterface ¶
type HostAccountUserAttachmentInterface interface { Create(ctx context.Context, hostAccountUserAttachment *v1alpha1.HostAccountUserAttachment, opts v1.CreateOptions) (*v1alpha1.HostAccountUserAttachment, error) Update(ctx context.Context, hostAccountUserAttachment *v1alpha1.HostAccountUserAttachment, opts v1.UpdateOptions) (*v1alpha1.HostAccountUserAttachment, error) UpdateStatus(ctx context.Context, hostAccountUserAttachment *v1alpha1.HostAccountUserAttachment, opts v1.UpdateOptions) (*v1alpha1.HostAccountUserAttachment, 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) (*v1alpha1.HostAccountUserAttachment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HostAccountUserAttachmentList, 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 *v1alpha1.HostAccountUserAttachment, err error) HostAccountUserAttachmentExpansion }
HostAccountUserAttachmentInterface has methods to work with HostAccountUserAttachment resources.
type HostAccountUserAttachmentsGetter ¶
type HostAccountUserAttachmentsGetter interface {
HostAccountUserAttachments(namespace string) HostAccountUserAttachmentInterface
}
HostAccountUserAttachmentsGetter has a method to return a HostAccountUserAttachmentInterface. A group's client should implement this interface.
type HostAccountUserGroupAttachmentExpansion ¶
type HostAccountUserGroupAttachmentExpansion interface{}
type HostAccountUserGroupAttachmentInterface ¶
type HostAccountUserGroupAttachmentInterface interface { Create(ctx context.Context, hostAccountUserGroupAttachment *v1alpha1.HostAccountUserGroupAttachment, opts v1.CreateOptions) (*v1alpha1.HostAccountUserGroupAttachment, error) Update(ctx context.Context, hostAccountUserGroupAttachment *v1alpha1.HostAccountUserGroupAttachment, opts v1.UpdateOptions) (*v1alpha1.HostAccountUserGroupAttachment, error) UpdateStatus(ctx context.Context, hostAccountUserGroupAttachment *v1alpha1.HostAccountUserGroupAttachment, opts v1.UpdateOptions) (*v1alpha1.HostAccountUserGroupAttachment, 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) (*v1alpha1.HostAccountUserGroupAttachment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HostAccountUserGroupAttachmentList, 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 *v1alpha1.HostAccountUserGroupAttachment, err error) HostAccountUserGroupAttachmentExpansion }
HostAccountUserGroupAttachmentInterface has methods to work with HostAccountUserGroupAttachment resources.
type HostAccountUserGroupAttachmentsGetter ¶
type HostAccountUserGroupAttachmentsGetter interface {
HostAccountUserGroupAttachments(namespace string) HostAccountUserGroupAttachmentInterface
}
HostAccountUserGroupAttachmentsGetter has a method to return a HostAccountUserGroupAttachmentInterface. A group's client should implement this interface.
type HostAccountsGetter ¶
type HostAccountsGetter interface {
HostAccounts(namespace string) HostAccountInterface
}
HostAccountsGetter has a method to return a HostAccountInterface. A group's client should implement this interface.
type HostAttachmentExpansion ¶
type HostAttachmentExpansion interface{}
type HostAttachmentInterface ¶
type HostAttachmentInterface interface { Create(ctx context.Context, hostAttachment *v1alpha1.HostAttachment, opts v1.CreateOptions) (*v1alpha1.HostAttachment, error) Update(ctx context.Context, hostAttachment *v1alpha1.HostAttachment, opts v1.UpdateOptions) (*v1alpha1.HostAttachment, error) UpdateStatus(ctx context.Context, hostAttachment *v1alpha1.HostAttachment, opts v1.UpdateOptions) (*v1alpha1.HostAttachment, 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) (*v1alpha1.HostAttachment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HostAttachmentList, 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 *v1alpha1.HostAttachment, err error) HostAttachmentExpansion }
HostAttachmentInterface has methods to work with HostAttachment resources.
type HostAttachmentsGetter ¶
type HostAttachmentsGetter interface {
HostAttachments(namespace string) HostAttachmentInterface
}
HostAttachmentsGetter has a method to return a HostAttachmentInterface. A group's client should implement this interface.
type HostExpansion ¶
type HostExpansion interface{}
type HostGroupAccountUserAttachmentExpansion ¶
type HostGroupAccountUserAttachmentExpansion interface{}
type HostGroupAccountUserAttachmentInterface ¶
type HostGroupAccountUserAttachmentInterface interface { Create(ctx context.Context, hostGroupAccountUserAttachment *v1alpha1.HostGroupAccountUserAttachment, opts v1.CreateOptions) (*v1alpha1.HostGroupAccountUserAttachment, error) Update(ctx context.Context, hostGroupAccountUserAttachment *v1alpha1.HostGroupAccountUserAttachment, opts v1.UpdateOptions) (*v1alpha1.HostGroupAccountUserAttachment, error) UpdateStatus(ctx context.Context, hostGroupAccountUserAttachment *v1alpha1.HostGroupAccountUserAttachment, opts v1.UpdateOptions) (*v1alpha1.HostGroupAccountUserAttachment, 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) (*v1alpha1.HostGroupAccountUserAttachment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HostGroupAccountUserAttachmentList, 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 *v1alpha1.HostGroupAccountUserAttachment, err error) HostGroupAccountUserAttachmentExpansion }
HostGroupAccountUserAttachmentInterface has methods to work with HostGroupAccountUserAttachment resources.
type HostGroupAccountUserAttachmentsGetter ¶
type HostGroupAccountUserAttachmentsGetter interface {
HostGroupAccountUserAttachments(namespace string) HostGroupAccountUserAttachmentInterface
}
HostGroupAccountUserAttachmentsGetter has a method to return a HostGroupAccountUserAttachmentInterface. A group's client should implement this interface.
type HostGroupAccountUserGroupAttachmentExpansion ¶
type HostGroupAccountUserGroupAttachmentExpansion interface{}
type HostGroupAccountUserGroupAttachmentInterface ¶
type HostGroupAccountUserGroupAttachmentInterface interface { Create(ctx context.Context, hostGroupAccountUserGroupAttachment *v1alpha1.HostGroupAccountUserGroupAttachment, opts v1.CreateOptions) (*v1alpha1.HostGroupAccountUserGroupAttachment, error) Update(ctx context.Context, hostGroupAccountUserGroupAttachment *v1alpha1.HostGroupAccountUserGroupAttachment, opts v1.UpdateOptions) (*v1alpha1.HostGroupAccountUserGroupAttachment, error) UpdateStatus(ctx context.Context, hostGroupAccountUserGroupAttachment *v1alpha1.HostGroupAccountUserGroupAttachment, opts v1.UpdateOptions) (*v1alpha1.HostGroupAccountUserGroupAttachment, 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) (*v1alpha1.HostGroupAccountUserGroupAttachment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HostGroupAccountUserGroupAttachmentList, 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 *v1alpha1.HostGroupAccountUserGroupAttachment, err error) HostGroupAccountUserGroupAttachmentExpansion }
HostGroupAccountUserGroupAttachmentInterface has methods to work with HostGroupAccountUserGroupAttachment resources.
type HostGroupAccountUserGroupAttachmentsGetter ¶
type HostGroupAccountUserGroupAttachmentsGetter interface {
HostGroupAccountUserGroupAttachments(namespace string) HostGroupAccountUserGroupAttachmentInterface
}
HostGroupAccountUserGroupAttachmentsGetter has a method to return a HostGroupAccountUserGroupAttachmentInterface. A group's client should implement this interface.
type HostGroupExpansion ¶
type HostGroupExpansion interface{}
type HostGroupInterface ¶
type HostGroupInterface interface { Create(ctx context.Context, hostGroup *v1alpha1.HostGroup, opts v1.CreateOptions) (*v1alpha1.HostGroup, error) Update(ctx context.Context, hostGroup *v1alpha1.HostGroup, opts v1.UpdateOptions) (*v1alpha1.HostGroup, error) UpdateStatus(ctx context.Context, hostGroup *v1alpha1.HostGroup, opts v1.UpdateOptions) (*v1alpha1.HostGroup, 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) (*v1alpha1.HostGroup, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HostGroupList, 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 *v1alpha1.HostGroup, err error) HostGroupExpansion }
HostGroupInterface has methods to work with HostGroup resources.
type HostGroupsGetter ¶
type HostGroupsGetter interface {
HostGroups(namespace string) HostGroupInterface
}
HostGroupsGetter has a method to return a HostGroupInterface. A group's client should implement this interface.
type HostInterface ¶
type HostInterface interface { Create(ctx context.Context, host *v1alpha1.Host, opts v1.CreateOptions) (*v1alpha1.Host, error) Update(ctx context.Context, host *v1alpha1.Host, opts v1.UpdateOptions) (*v1alpha1.Host, error) UpdateStatus(ctx context.Context, host *v1alpha1.Host, opts v1.UpdateOptions) (*v1alpha1.Host, 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) (*v1alpha1.Host, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HostList, 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 *v1alpha1.Host, err error) HostExpansion }
HostInterface has methods to work with Host resources.
type HostsGetter ¶
type HostsGetter interface {
Hosts(namespace string) HostInterface
}
HostsGetter has a method to return a HostInterface. A group's client should implement this interface.
type InstanceExpansion ¶
type InstanceExpansion interface{}
type InstanceInterface ¶
type InstanceInterface interface { Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (*v1alpha1.Instance, error) Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error) UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, 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) (*v1alpha1.Instance, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.InstanceList, 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 *v1alpha1.Instance, err error) InstanceExpansion }
InstanceInterface has methods to work with Instance resources.
type InstancesGetter ¶
type InstancesGetter interface {
Instances(namespace string) InstanceInterface
}
InstancesGetter has a method to return a InstanceInterface. A group's client should implement this interface.
type UserAttachmentExpansion ¶
type UserAttachmentExpansion interface{}
type UserAttachmentInterface ¶
type UserAttachmentInterface interface { Create(ctx context.Context, userAttachment *v1alpha1.UserAttachment, opts v1.CreateOptions) (*v1alpha1.UserAttachment, error) Update(ctx context.Context, userAttachment *v1alpha1.UserAttachment, opts v1.UpdateOptions) (*v1alpha1.UserAttachment, error) UpdateStatus(ctx context.Context, userAttachment *v1alpha1.UserAttachment, opts v1.UpdateOptions) (*v1alpha1.UserAttachment, 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) (*v1alpha1.UserAttachment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UserAttachmentList, 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 *v1alpha1.UserAttachment, err error) UserAttachmentExpansion }
UserAttachmentInterface has methods to work with UserAttachment resources.
type UserAttachmentsGetter ¶
type UserAttachmentsGetter interface {
UserAttachments(namespace string) UserAttachmentInterface
}
UserAttachmentsGetter has a method to return a UserAttachmentInterface. A group's client should implement this interface.
type UserExpansion ¶
type UserExpansion interface{}
type UserGroupExpansion ¶
type UserGroupExpansion interface{}
type UserGroupInterface ¶
type UserGroupInterface interface { Create(ctx context.Context, userGroup *v1alpha1.UserGroup, opts v1.CreateOptions) (*v1alpha1.UserGroup, error) Update(ctx context.Context, userGroup *v1alpha1.UserGroup, opts v1.UpdateOptions) (*v1alpha1.UserGroup, error) UpdateStatus(ctx context.Context, userGroup *v1alpha1.UserGroup, opts v1.UpdateOptions) (*v1alpha1.UserGroup, 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) (*v1alpha1.UserGroup, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UserGroupList, 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 *v1alpha1.UserGroup, err error) UserGroupExpansion }
UserGroupInterface has methods to work with UserGroup resources.
type UserGroupsGetter ¶
type UserGroupsGetter interface {
UserGroups(namespace string) UserGroupInterface
}
UserGroupsGetter has a method to return a UserGroupInterface. A group's client should implement this interface.
type UserInterface ¶
type UserInterface interface { Create(ctx context.Context, user *v1alpha1.User, opts v1.CreateOptions) (*v1alpha1.User, error) Update(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, error) UpdateStatus(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.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) (*v1alpha1.User, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.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 *v1alpha1.User, err error) UserExpansion }
UserInterface has methods to work with User resources.
type UsersGetter ¶
type UsersGetter interface {
Users(namespace string) UserInterface
}
UsersGetter has a method to return a UserInterface. A group's client should implement this interface.