internalversion

package
Version: v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 7 Imported by: 158

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 AuthorizationClient

type AuthorizationClient struct {
	// contains filtered or unexported fields
}

AuthorizationClient is used to interact with features provided by the authorization.openshift.io group.

func New

New creates a new AuthorizationClient for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*AuthorizationClient, error)

NewForConfig creates a new AuthorizationClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AuthorizationClient

NewForConfigOrDie creates a new AuthorizationClient for the given config and panics if there is an error in the config.

func (*AuthorizationClient) ClusterRoleBindings

func (c *AuthorizationClient) ClusterRoleBindings() ClusterRoleBindingInterface

func (*AuthorizationClient) ClusterRoles

func (c *AuthorizationClient) ClusterRoles() ClusterRoleInterface

func (*AuthorizationClient) LocalResourceAccessReviews

func (c *AuthorizationClient) LocalResourceAccessReviews(namespace string) LocalResourceAccessReviewInterface

func (*AuthorizationClient) LocalSubjectAccessReviews

func (c *AuthorizationClient) LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface

func (*AuthorizationClient) RESTClient

func (c *AuthorizationClient) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*AuthorizationClient) ResourceAccessReviews

func (c *AuthorizationClient) ResourceAccessReviews() ResourceAccessReviewInterface

func (*AuthorizationClient) RoleBindingRestrictions

func (c *AuthorizationClient) RoleBindingRestrictions(namespace string) RoleBindingRestrictionInterface

func (*AuthorizationClient) RoleBindings

func (c *AuthorizationClient) RoleBindings(namespace string) RoleBindingInterface

func (*AuthorizationClient) Roles

func (c *AuthorizationClient) Roles(namespace string) RoleInterface

func (*AuthorizationClient) SelfSubjectRulesReviews

func (c *AuthorizationClient) SelfSubjectRulesReviews(namespace string) SelfSubjectRulesReviewInterface

func (*AuthorizationClient) SubjectAccessReviews

func (c *AuthorizationClient) SubjectAccessReviews() SubjectAccessReviewInterface

func (*AuthorizationClient) SubjectRulesReviews

func (c *AuthorizationClient) SubjectRulesReviews(namespace string) SubjectRulesReviewInterface

type ClusterRoleBindingExpansion

type ClusterRoleBindingExpansion interface{}

type ClusterRoleBindingInterface

type ClusterRoleBindingInterface interface {
	Create(*authorization.ClusterRoleBinding) (*authorization.ClusterRoleBinding, error)
	Update(*authorization.ClusterRoleBinding) (*authorization.ClusterRoleBinding, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*authorization.ClusterRoleBinding, error)
	List(opts v1.ListOptions) (*authorization.ClusterRoleBindingList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.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(*authorization.ClusterRole) (*authorization.ClusterRole, error)
	Update(*authorization.ClusterRole) (*authorization.ClusterRole, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*authorization.ClusterRole, error)
	List(opts v1.ListOptions) (*authorization.ClusterRoleList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.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 LocalResourceAccessReviewExpansion

type LocalResourceAccessReviewExpansion interface{}

type LocalResourceAccessReviewInterface

LocalResourceAccessReviewInterface has methods to work with LocalResourceAccessReview resources.

type LocalResourceAccessReviewsGetter

type LocalResourceAccessReviewsGetter interface {
	LocalResourceAccessReviews(namespace string) LocalResourceAccessReviewInterface
}

LocalResourceAccessReviewsGetter has a method to return a LocalResourceAccessReviewInterface. A group's client should implement this interface.

type LocalSubjectAccessReviewExpansion

type LocalSubjectAccessReviewExpansion interface{}

type LocalSubjectAccessReviewInterface

LocalSubjectAccessReviewInterface has methods to work with LocalSubjectAccessReview resources.

type LocalSubjectAccessReviewsGetter

type LocalSubjectAccessReviewsGetter interface {
	LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
}

LocalSubjectAccessReviewsGetter has a method to return a LocalSubjectAccessReviewInterface. A group's client should implement this interface.

type ResourceAccessReviewExpansion

type ResourceAccessReviewExpansion interface{}

type ResourceAccessReviewInterface

ResourceAccessReviewInterface has methods to work with ResourceAccessReview resources.

type ResourceAccessReviewsGetter

type ResourceAccessReviewsGetter interface {
	ResourceAccessReviews() ResourceAccessReviewInterface
}

ResourceAccessReviewsGetter has a method to return a ResourceAccessReviewInterface. A group's client should implement this interface.

type RoleBindingExpansion

type RoleBindingExpansion interface{}

type RoleBindingInterface

type RoleBindingInterface interface {
	Create(*authorization.RoleBinding) (*authorization.RoleBinding, error)
	Update(*authorization.RoleBinding) (*authorization.RoleBinding, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*authorization.RoleBinding, error)
	List(opts v1.ListOptions) (*authorization.RoleBindingList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.RoleBinding, err error)
	RoleBindingExpansion
}

RoleBindingInterface has methods to work with RoleBinding resources.

type RoleBindingRestrictionExpansion

type RoleBindingRestrictionExpansion interface{}

type RoleBindingRestrictionInterface

RoleBindingRestrictionInterface has methods to work with RoleBindingRestriction resources.

type RoleBindingRestrictionsGetter

type RoleBindingRestrictionsGetter interface {
	RoleBindingRestrictions(namespace string) RoleBindingRestrictionInterface
}

RoleBindingRestrictionsGetter has a method to return a RoleBindingRestrictionInterface. A group's client should implement this interface.

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(*authorization.Role) (*authorization.Role, error)
	Update(*authorization.Role) (*authorization.Role, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*authorization.Role, error)
	List(opts v1.ListOptions) (*authorization.RoleList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.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.

type SelfSubjectRulesReviewExpansion

type SelfSubjectRulesReviewExpansion interface{}

type SelfSubjectRulesReviewInterface

type SelfSubjectRulesReviewInterface interface {
	Create(*authorization.SelfSubjectRulesReview) (*authorization.SelfSubjectRulesReview, error)
	SelfSubjectRulesReviewExpansion
}

SelfSubjectRulesReviewInterface has methods to work with SelfSubjectRulesReview resources.

type SelfSubjectRulesReviewsGetter

type SelfSubjectRulesReviewsGetter interface {
	SelfSubjectRulesReviews(namespace string) SelfSubjectRulesReviewInterface
}

SelfSubjectRulesReviewsGetter has a method to return a SelfSubjectRulesReviewInterface. A group's client should implement this interface.

type SubjectAccessReviewExpansion

type SubjectAccessReviewExpansion interface{}

type SubjectAccessReviewInterface

SubjectAccessReviewInterface has methods to work with SubjectAccessReview resources.

type SubjectAccessReviewsGetter

type SubjectAccessReviewsGetter interface {
	SubjectAccessReviews() SubjectAccessReviewInterface
}

SubjectAccessReviewsGetter has a method to return a SubjectAccessReviewInterface. A group's client should implement this interface.

type SubjectRulesReviewExpansion

type SubjectRulesReviewExpansion interface{}

type SubjectRulesReviewInterface

type SubjectRulesReviewInterface interface {
	Create(*authorization.SubjectRulesReview) (*authorization.SubjectRulesReview, error)
	SubjectRulesReviewExpansion
}

SubjectRulesReviewInterface has methods to work with SubjectRulesReview resources.

type SubjectRulesReviewsGetter

type SubjectRulesReviewsGetter interface {
	SubjectRulesReviews(namespace string) SubjectRulesReviewInterface
}

SubjectRulesReviewsGetter has a method to return a SubjectRulesReviewInterface. 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL