package v1alpha1

import "k8s.io/client-go/1.4/kubernetes/typed/rbac/v1alpha1"

This package has the automatically generated typed clients.

Index

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 *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*v1alpha1.ClusterRoleBinding, error)
	List(opts api.ListOptions) (*v1alpha1.ClusterRoleBindingList, error)
	Watch(opts api.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 *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*v1alpha1.ClusterRole, error)
	List(opts api.ListOptions) (*v1alpha1.ClusterRoleList, error)
	Watch(opts api.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 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 *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*v1alpha1.RoleBinding, error)
	List(opts api.ListOptions) (*v1alpha1.RoleBindingList, error)
	Watch(opts api.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 *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*v1alpha1.Role, error)
	List(opts api.ListOptions) (*v1alpha1.RoleList, error)
	Watch(opts api.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.

Source Files

clusterrole.go clusterrolebinding.go doc.go generated_expansion.go rbac_client.go role.go rolebinding.go

Directories

PathSynopsis
1.4/kubernetes/typed/rbac/v1alpha1/fakePackage fake has the automatically generated clients.
Version
v1.4.0
Published
Oct 17, 2016
Platform
linux/amd64
Imports
6 packages
Last checked
1 minute ago

Tools for package owners.