v1beta1

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2017 License: Apache-2.0, Apache-2.0, Apache-2.0 Imports: 5 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 AuthorizationClient

type AuthorizationClient struct {
	*rest.RESTClient
}

AuthorizationClient is used to interact with features provided by the Authorization 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) GetRESTClient

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

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

func (*AuthorizationClient) SubjectAccessReviews

func (c *AuthorizationClient) SubjectAccessReviews() SubjectAccessReviewInterface

type AuthorizationInterface

type AuthorizationInterface interface {
	GetRESTClient() *rest.RESTClient
	SubjectAccessReviewsGetter
}

type SubjectAccessReviewExpansion

type SubjectAccessReviewExpansion interface {
	Create(sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error)
}

The SubjectAccessReviewExpansion interface allows manually adding extra methods to the AuthorizationInterface.

type SubjectAccessReviewInterface

type SubjectAccessReviewInterface interface {
	SubjectAccessReviewExpansion
}

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.

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