AuthorizationV1beta1Client is used to interact with features provided by the authorization.k8s.io group.
type AuthorizationV1beta1Client struct {
// contains filtered or unexported fields
}
func New(c rest.Interface) *AuthorizationV1beta1Client
New creates a new AuthorizationV1beta1Client for the given RESTClient.
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(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(c *rest.Config) *AuthorizationV1beta1Client
NewForConfigOrDie creates a new AuthorizationV1beta1Client for the given config and panics if there is an error in the config.
func (c *AuthorizationV1beta1Client) LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
func (c *AuthorizationV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (c *AuthorizationV1beta1Client) SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface
func (c *AuthorizationV1beta1Client) SelfSubjectRulesReviews() SelfSubjectRulesReviewInterface
func (c *AuthorizationV1beta1Client) SubjectAccessReviews() SubjectAccessReviewInterface
type AuthorizationV1beta1Interface interface { RESTClient() rest.Interface LocalSubjectAccessReviewsGetter SelfSubjectAccessReviewsGetter SelfSubjectRulesReviewsGetter SubjectAccessReviewsGetter }
type LocalSubjectAccessReviewExpansion interface{}
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 }
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 interface{}
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 }
SelfSubjectAccessReviewsGetter has a method to return a SelfSubjectAccessReviewInterface. A group's client should implement this interface.
type SelfSubjectAccessReviewsGetter interface { SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface }
type SelfSubjectRulesReviewExpansion interface{}
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 }
SelfSubjectRulesReviewsGetter has a method to return a SelfSubjectRulesReviewInterface. A group's client should implement this interface.
type SelfSubjectRulesReviewsGetter interface { SelfSubjectRulesReviews() SelfSubjectRulesReviewInterface }
type SubjectAccessReviewExpansion interface{}
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 }
SubjectAccessReviewsGetter has a method to return a SubjectAccessReviewInterface. A group's client should implement this interface.
type SubjectAccessReviewsGetter interface { SubjectAccessReviews() SubjectAccessReviewInterface }