internalversion

package
v1.5.0-beta.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRoleBindingLister

type ClusterRoleBindingLister interface {
	// List lists all ClusterRoleBindings in the indexer.
	List(selector labels.Selector) (ret []*rbac.ClusterRoleBinding, err error)
	// Get retrieves the ClusterRoleBinding from the index for a given name.
	Get(name string) (*rbac.ClusterRoleBinding, error)
}

ClusterRoleBindingLister helps list ClusterRoleBindings.

func NewClusterRoleBindingLister

func NewClusterRoleBindingLister(indexer cache.Indexer) ClusterRoleBindingLister

NewClusterRoleBindingLister returns a new ClusterRoleBindingLister.

type ClusterRoleLister

type ClusterRoleLister interface {
	// List lists all ClusterRoles in the indexer.
	List(selector labels.Selector) (ret []*rbac.ClusterRole, err error)
	// Get retrieves the ClusterRole from the index for a given name.
	Get(name string) (*rbac.ClusterRole, error)
}

ClusterRoleLister helps list ClusterRoles.

func NewClusterRoleLister

func NewClusterRoleLister(indexer cache.Indexer) ClusterRoleLister

NewClusterRoleLister returns a new ClusterRoleLister.

type RoleBindingLister

type RoleBindingLister interface {
	// List lists all RoleBindings in the indexer.
	List(selector labels.Selector) (ret []*rbac.RoleBinding, err error)
	// RoleBindings returns an object that can list and get RoleBindings.
	RoleBindings(namespace string) RoleBindingNamespaceLister
}

RoleBindingLister helps list RoleBindings.

func NewRoleBindingLister

func NewRoleBindingLister(indexer cache.Indexer) RoleBindingLister

NewRoleBindingLister returns a new RoleBindingLister.

type RoleBindingNamespaceLister

type RoleBindingNamespaceLister interface {
	// List lists all RoleBindings in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*rbac.RoleBinding, err error)
	// Get retrieves the RoleBinding from the indexer for a given namespace and name.
	Get(name string) (*rbac.RoleBinding, error)
}

RoleBindingNamespaceLister helps list and get RoleBindings.

type RoleLister

type RoleLister interface {
	// List lists all Roles in the indexer.
	List(selector labels.Selector) (ret []*rbac.Role, err error)
	// Roles returns an object that can list and get Roles.
	Roles(namespace string) RoleNamespaceLister
}

RoleLister helps list Roles.

func NewRoleLister

func NewRoleLister(indexer cache.Indexer) RoleLister

NewRoleLister returns a new RoleLister.

type RoleNamespaceLister

type RoleNamespaceLister interface {
	// List lists all Roles in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*rbac.Role, err error)
	// Get retrieves the Role from the indexer for a given namespace and name.
	Get(name string) (*rbac.Role, error)
}

RoleNamespaceLister helps list and get Roles.

Jump to

Keyboard shortcuts

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