v1alpha1

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2016 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

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 *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 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.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL