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) RESTClient() restclient.Interface
- 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(*rbac.ClusterRoleBinding) (*rbac.ClusterRoleBinding, error) Update(*rbac.ClusterRoleBinding) (*rbac.ClusterRoleBinding, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*rbac.ClusterRoleBinding, error) List(opts api.ListOptions) (*rbac.ClusterRoleBindingList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *rbac.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(*rbac.ClusterRole) (*rbac.ClusterRole, error) Update(*rbac.ClusterRole) (*rbac.ClusterRole, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*rbac.ClusterRole, error) List(opts api.ListOptions) (*rbac.ClusterRoleList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *rbac.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 {
// contains filtered or unexported fields
}
RbacClient is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group.
func New ¶
func New(c restclient.Interface) *RbacClient
New creates a new RbacClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *restclient.Config) (*RbacClient, error)
NewForConfig creates a new RbacClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *restclient.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) RESTClient ¶
func (c *RbacClient) RESTClient() restclient.Interface
RESTClient 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 { RESTClient() restclient.Interface ClusterRolesGetter ClusterRoleBindingsGetter RolesGetter RoleBindingsGetter }
type RoleBindingExpansion ¶
type RoleBindingExpansion interface{}
type RoleBindingInterface ¶
type RoleBindingInterface interface { Create(*rbac.RoleBinding) (*rbac.RoleBinding, error) Update(*rbac.RoleBinding) (*rbac.RoleBinding, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*rbac.RoleBinding, error) List(opts api.ListOptions) (*rbac.RoleBindingList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *rbac.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(*rbac.Role) (*rbac.Role, error) Update(*rbac.Role) (*rbac.Role, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*rbac.Role, error) List(opts api.ListOptions) (*rbac.RoleList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *rbac.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.