Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterRoleBindingExpansion
- type ClusterRoleBindingInterface
- type ClusterRoleBindingsGetter
- type ClusterRoleExpansion
- type ClusterRoleInterface
- type ClusterRolesGetter
- type RbacClient
- func (c *RbacClient) ClusterRoleBindings() ClusterRoleBindingInterface
- func (c *RbacClient) ClusterRoles() ClusterRoleInterface
- func (c *RbacClient) GetRESTClient() *rest.RESTClient
- func (c *RbacClient) RoleBindings(namespace string) RoleBindingInterface
- func (c *RbacClient) Roles(namespace string) RoleInterface
- type RbacInterface
- type RoleBindingExpansion
- type RoleBindingInterface
- type RoleBindingsGetter
- type RoleExpansion
- type RoleInterface
- type RolesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleBindingExpansion ¶
type ClusterRoleBindingExpansion interface{}
type ClusterRoleBindingInterface ¶
type ClusterRoleBindingInterface interface { Create(*v1alpha1.ClusterRoleBinding) (*v1alpha1.ClusterRoleBinding, error) Update(*v1alpha1.ClusterRoleBinding) (*v1alpha1.ClusterRoleBinding, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.ClusterRoleBinding, error) List(opts v1.ListOptions) (*v1alpha1.ClusterRoleBindingList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterRoleBinding, err error) ClusterRoleBindingExpansion }
ClusterRoleBindingInterface has methods to work with ClusterRoleBinding resources.
type ClusterRoleBindingsGetter ¶
type ClusterRoleBindingsGetter interface {
ClusterRoleBindings() ClusterRoleBindingInterface
}
ClusterRoleBindingsGetter has a method to return a ClusterRoleBindingInterface. A group's client should implement this interface.
type ClusterRoleExpansion ¶
type ClusterRoleExpansion interface{}
type ClusterRoleInterface ¶
type ClusterRoleInterface interface { Create(*v1alpha1.ClusterRole) (*v1alpha1.ClusterRole, error) Update(*v1alpha1.ClusterRole) (*v1alpha1.ClusterRole, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.ClusterRole, error) List(opts v1.ListOptions) (*v1alpha1.ClusterRoleList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterRole, err error) ClusterRoleExpansion }
ClusterRoleInterface has methods to work with ClusterRole resources.
type ClusterRolesGetter ¶
type ClusterRolesGetter interface {
ClusterRoles() ClusterRoleInterface
}
ClusterRolesGetter has a method to return a ClusterRoleInterface. A group's client should implement this interface.
type RbacClient ¶
type RbacClient struct {
*rest.RESTClient
}
RbacClient is used to interact with features provided by the Rbac group.
func New ¶
func New(c *rest.RESTClient) *RbacClient
New creates a new RbacClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*RbacClient, error)
NewForConfig creates a new RbacClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *RbacClient
NewForConfigOrDie creates a new RbacClient for the given config and panics if there is an error in the config.
func (*RbacClient) ClusterRoleBindings ¶
func (c *RbacClient) ClusterRoleBindings() ClusterRoleBindingInterface
func (*RbacClient) ClusterRoles ¶
func (c *RbacClient) ClusterRoles() ClusterRoleInterface
func (*RbacClient) GetRESTClient ¶
func (c *RbacClient) GetRESTClient() *rest.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*RbacClient) RoleBindings ¶
func (c *RbacClient) RoleBindings(namespace string) RoleBindingInterface
func (*RbacClient) Roles ¶
func (c *RbacClient) Roles(namespace string) RoleInterface
type RbacInterface ¶
type RbacInterface interface { GetRESTClient() *rest.RESTClient ClusterRolesGetter ClusterRoleBindingsGetter RolesGetter RoleBindingsGetter }
type RoleBindingExpansion ¶
type RoleBindingExpansion interface{}
type RoleBindingInterface ¶
type RoleBindingInterface interface { Create(*v1alpha1.RoleBinding) (*v1alpha1.RoleBinding, error) Update(*v1alpha1.RoleBinding) (*v1alpha1.RoleBinding, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.RoleBinding, error) List(opts v1.ListOptions) (*v1alpha1.RoleBindingList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.RoleBinding, err error) RoleBindingExpansion }
RoleBindingInterface has methods to work with RoleBinding resources.
type RoleBindingsGetter ¶
type RoleBindingsGetter interface {
RoleBindings(namespace string) RoleBindingInterface
}
RoleBindingsGetter has a method to return a RoleBindingInterface. A group's client should implement this interface.
type RoleExpansion ¶
type RoleExpansion interface{}
type RoleInterface ¶
type RoleInterface interface { Create(*v1alpha1.Role) (*v1alpha1.Role, error) Update(*v1alpha1.Role) (*v1alpha1.Role, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.Role, error) List(opts v1.ListOptions) (*v1alpha1.RoleList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.Role, err error) RoleExpansion }
RoleInterface has methods to work with Role resources.
type RolesGetter ¶
type RolesGetter interface {
Roles(namespace string) RoleInterface
}
RolesGetter has a method to return a RoleInterface. A group's client should implement this interface.