v1

package
v0.26.8 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: 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 AuthorizationV1Client

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

AuthorizationV1Client is used to interact with features provided by the authorization.k8s.io group.

func New

New creates a new AuthorizationV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new AuthorizationV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*AuthorizationV1Client, error)

NewForConfigAndClient creates a new AuthorizationV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AuthorizationV1Client

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

func (*AuthorizationV1Client) LocalSubjectAccessReviews

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

func (*AuthorizationV1Client) RESTClient

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

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

func (*AuthorizationV1Client) SelfSubjectAccessReviews

func (c *AuthorizationV1Client) SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface

func (*AuthorizationV1Client) SelfSubjectRulesReviews

func (c *AuthorizationV1Client) SelfSubjectRulesReviews() SelfSubjectRulesReviewInterface

func (*AuthorizationV1Client) SubjectAccessReviews

func (c *AuthorizationV1Client) SubjectAccessReviews() SubjectAccessReviewInterface

type LocalSubjectAccessReviewExpansion

type LocalSubjectAccessReviewExpansion interface{}

type LocalSubjectAccessReviewInterface

type LocalSubjectAccessReviewInterface interface {
	Create(ctx context.Context, localSubjectAccessReview *v1.LocalSubjectAccessReview, opts metav1.CreateOptions) (*v1.LocalSubjectAccessReview, error)
	LocalSubjectAccessReviewExpansion
}

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 SelfSubjectAccessReviewExpansion

type SelfSubjectAccessReviewExpansion interface{}

type SelfSubjectAccessReviewInterface

type SelfSubjectAccessReviewInterface interface {
	Create(ctx context.Context, selfSubjectAccessReview *v1.SelfSubjectAccessReview, opts metav1.CreateOptions) (*v1.SelfSubjectAccessReview, error)
	SelfSubjectAccessReviewExpansion
}

SelfSubjectAccessReviewInterface has methods to work with SelfSubjectAccessReview resources.

type SelfSubjectAccessReviewsGetter

type SelfSubjectAccessReviewsGetter interface {
	SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface
}

SelfSubjectAccessReviewsGetter has a method to return a SelfSubjectAccessReviewInterface. A group's client should implement this interface.

type SelfSubjectRulesReviewExpansion

type SelfSubjectRulesReviewExpansion interface{}

type SelfSubjectRulesReviewInterface

type SelfSubjectRulesReviewInterface interface {
	Create(ctx context.Context, selfSubjectRulesReview *v1.SelfSubjectRulesReview, opts metav1.CreateOptions) (*v1.SelfSubjectRulesReview, error)
	SelfSubjectRulesReviewExpansion
}

SelfSubjectRulesReviewInterface has methods to work with SelfSubjectRulesReview resources.

type SelfSubjectRulesReviewsGetter

type SelfSubjectRulesReviewsGetter interface {
	SelfSubjectRulesReviews() SelfSubjectRulesReviewInterface
}

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

type SubjectAccessReviewExpansion

type SubjectAccessReviewExpansion interface{}

type SubjectAccessReviewInterface

type SubjectAccessReviewInterface interface {
	Create(ctx context.Context, subjectAccessReview *v1.SubjectAccessReview, opts metav1.CreateOptions) (*v1.SubjectAccessReview, error)
	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