import "k8s.io/client-go/kubernetes/typed/authorization/v1"
This package has the automatically generated typed clients.
authorization_client.go doc.go generated_expansion.go localsubjectaccessreview.go selfsubjectaccessreview.go selfsubjectrulesreview.go subjectaccessreview.go
type AuthorizationV1Client struct {
// contains filtered or unexported fields
}
AuthorizationV1Client is used to interact with features provided by the authorization.k8s.io group.
func New(c rest.Interface) *AuthorizationV1Client
New creates a new AuthorizationV1Client for the given RESTClient.
func NewForConfig(c *rest.Config) (*AuthorizationV1Client, error)
NewForConfig creates a new AuthorizationV1Client for the given config.
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 (c *AuthorizationV1Client) LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
func (c *AuthorizationV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (c *AuthorizationV1Client) SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface
func (c *AuthorizationV1Client) SelfSubjectRulesReviews() SelfSubjectRulesReviewInterface
func (c *AuthorizationV1Client) SubjectAccessReviews() SubjectAccessReviewInterface
type AuthorizationV1Interface interface { RESTClient() rest.Interface LocalSubjectAccessReviewsGetter SelfSubjectAccessReviewsGetter SelfSubjectRulesReviewsGetter SubjectAccessReviewsGetter }
type LocalSubjectAccessReviewExpansion interface{}
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 interface { LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface }
LocalSubjectAccessReviewsGetter has a method to return a LocalSubjectAccessReviewInterface. A group's client should implement this interface.
type SelfSubjectAccessReviewExpansion interface{}
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 interface { SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface }
SelfSubjectAccessReviewsGetter has a method to return a SelfSubjectAccessReviewInterface. A group's client should implement this interface.
type SelfSubjectRulesReviewExpansion interface{}
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 interface { SelfSubjectRulesReviews() SelfSubjectRulesReviewInterface }
SelfSubjectRulesReviewsGetter has a method to return a SelfSubjectRulesReviewInterface. A group's client should implement this interface.
type SubjectAccessReviewExpansion interface{}
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 interface { SubjectAccessReviews() SubjectAccessReviewInterface }
SubjectAccessReviewsGetter has a method to return a SubjectAccessReviewInterface. A group's client should implement this interface.
Path | Synopsis |
---|---|
fake | Package fake has the automatically generated clients. |
Package v1 imports 5 packages (graph) and is imported by 187 packages. Updated 2020-06-29. Refresh now. Tools for package owners.