...

Package v1beta1

import "k8s.io/client-go/kubernetes/typed/authorization/v1beta1"
Overview
Index
Subdirectories

Overview ▾

This package has the automatically generated typed clients.

type AuthorizationV1beta1Client

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

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

func New

func New(c rest.Interface) *AuthorizationV1beta1Client

New creates a new AuthorizationV1beta1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new AuthorizationV1beta1Client 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) (*AuthorizationV1beta1Client, error)

NewForConfigAndClient creates a new AuthorizationV1beta1Client 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) *AuthorizationV1beta1Client

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

func (*AuthorizationV1beta1Client) LocalSubjectAccessReviews

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

func (*AuthorizationV1beta1Client) RESTClient

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

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

func (*AuthorizationV1beta1Client) SelfSubjectAccessReviews

func (c *AuthorizationV1beta1Client) SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface

func (*AuthorizationV1beta1Client) SelfSubjectRulesReviews

func (c *AuthorizationV1beta1Client) SelfSubjectRulesReviews() SelfSubjectRulesReviewInterface

func (*AuthorizationV1beta1Client) SubjectAccessReviews

func (c *AuthorizationV1beta1Client) SubjectAccessReviews() SubjectAccessReviewInterface

type AuthorizationV1beta1Interface

type AuthorizationV1beta1Interface interface {
    RESTClient() rest.Interface
    LocalSubjectAccessReviewsGetter
    SelfSubjectAccessReviewsGetter
    SelfSubjectRulesReviewsGetter
    SubjectAccessReviewsGetter
}

type LocalSubjectAccessReviewExpansion

type LocalSubjectAccessReviewExpansion interface{}

type LocalSubjectAccessReviewInterface

LocalSubjectAccessReviewInterface has methods to work with LocalSubjectAccessReview resources.

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

type LocalSubjectAccessReviewsGetter

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

type LocalSubjectAccessReviewsGetter interface {
    LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
}

type SelfSubjectAccessReviewExpansion

type SelfSubjectAccessReviewExpansion interface{}

type SelfSubjectAccessReviewInterface

SelfSubjectAccessReviewInterface has methods to work with SelfSubjectAccessReview resources.

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

type SelfSubjectAccessReviewsGetter

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

type SelfSubjectAccessReviewsGetter interface {
    SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface
}

type SelfSubjectRulesReviewExpansion

type SelfSubjectRulesReviewExpansion interface{}

type SelfSubjectRulesReviewInterface

SelfSubjectRulesReviewInterface has methods to work with SelfSubjectRulesReview resources.

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

type SelfSubjectRulesReviewsGetter

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

type SelfSubjectRulesReviewsGetter interface {
    SelfSubjectRulesReviews() SelfSubjectRulesReviewInterface
}

type SubjectAccessReviewExpansion

type SubjectAccessReviewExpansion interface{}

type SubjectAccessReviewInterface

SubjectAccessReviewInterface has methods to work with SubjectAccessReview resources.

type SubjectAccessReviewInterface interface {
    Create(ctx context.Context, subjectAccessReview *v1beta1.SubjectAccessReview, opts v1.CreateOptions) (*v1beta1.SubjectAccessReview, error)
    SubjectAccessReviewExpansion
}

type SubjectAccessReviewsGetter

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

type SubjectAccessReviewsGetter interface {
    SubjectAccessReviews() SubjectAccessReviewInterface
}

Subdirectories

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