package v1

import "k8s.io/client-go/kubernetes/typed/authorization/v1"

This package has the automatically generated typed clients.

Index

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 AuthorizationV1Interface

type LocalSubjectAccessReviewExpansion

type LocalSubjectAccessReviewExpansion interface{}

type LocalSubjectAccessReviewInterface

type LocalSubjectAccessReviewInterface interface {
	Create(ctx context.Context, localSubjectAccessReview *authorizationv1.LocalSubjectAccessReview, opts metav1.CreateOptions) (*authorizationv1.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 *authorizationv1.SelfSubjectAccessReview, opts metav1.CreateOptions) (*authorizationv1.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 *authorizationv1.SelfSubjectRulesReview, opts metav1.CreateOptions) (*authorizationv1.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 *authorizationv1.SubjectAccessReview, opts metav1.CreateOptions) (*authorizationv1.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.

Source Files

authorization_client.go doc.go generated_expansion.go localsubjectaccessreview.go selfsubjectaccessreview.go selfsubjectrulesreview.go subjectaccessreview.go

Directories

PathSynopsis
kubernetes/typed/authorization/v1/fakePackage fake has the automatically generated clients.
Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
39 minutes ago

Tools for package owners.