package v1beta1
import "k8s.io/client-go/deprecated/typed/authorization/v1beta1"
This package has the automatically generated typed clients.
Index ¶
- type AuthorizationV1beta1Client
- func New(c rest.Interface) *AuthorizationV1beta1Client
- func NewForConfig(c *rest.Config) (*AuthorizationV1beta1Client, error)
- func NewForConfigOrDie(c *rest.Config) *AuthorizationV1beta1Client
- func (c *AuthorizationV1beta1Client) LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
- func (c *AuthorizationV1beta1Client) RESTClient() rest.Interface
- func (c *AuthorizationV1beta1Client) SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface
- func (c *AuthorizationV1beta1Client) SelfSubjectRulesReviews() SelfSubjectRulesReviewInterface
- func (c *AuthorizationV1beta1Client) SubjectAccessReviews() SubjectAccessReviewInterface
- type AuthorizationV1beta1Interface
- type LocalSubjectAccessReviewExpansion
- type LocalSubjectAccessReviewInterface
- type LocalSubjectAccessReviewsGetter
- type SelfSubjectAccessReviewExpansion
- type SelfSubjectAccessReviewInterface
- type SelfSubjectAccessReviewsGetter
- type SelfSubjectRulesReviewExpansion
- type SelfSubjectRulesReviewInterface
- type SelfSubjectRulesReviewsGetter
- type SubjectAccessReviewExpansion
- type SubjectAccessReviewInterface
- type SubjectAccessReviewsGetter
Types ¶
type AuthorizationV1beta1Client ¶
type AuthorizationV1beta1Client struct {
// contains filtered or unexported fields
}
AuthorizationV1beta1Client is used to interact with features provided by the authorization.k8s.io group.
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.
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 { Create(sar *authorizationapi.LocalSubjectAccessReview) (result *authorizationapi.LocalSubjectAccessReview, err error) CreateContext(ctx context.Context, sar *authorizationapi.LocalSubjectAccessReview) (result *authorizationapi.LocalSubjectAccessReview, err error) }
type LocalSubjectAccessReviewInterface ¶
type LocalSubjectAccessReviewInterface interface { 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 { Create(sar *authorizationapi.SelfSubjectAccessReview) (result *authorizationapi.SelfSubjectAccessReview, err error) CreateContext(ctx context.Context, sar *authorizationapi.SelfSubjectAccessReview) (result *authorizationapi.SelfSubjectAccessReview, err error) }
type SelfSubjectAccessReviewInterface ¶
type SelfSubjectAccessReviewInterface interface { 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 { Create(srr *authorizationapi.SelfSubjectRulesReview) (result *authorizationapi.SelfSubjectRulesReview, err error) CreateContext(ctx context.Context, srr *authorizationapi.SelfSubjectRulesReview) (result *authorizationapi.SelfSubjectRulesReview, err error) }
type SelfSubjectRulesReviewInterface ¶
type SelfSubjectRulesReviewInterface interface { 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 { Create(sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error) CreateContext(ctx context.Context, sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error) }
The SubjectAccessReviewExpansion interface allows manually adding extra methods to the AuthorizationInterface.
type SubjectAccessReviewInterface ¶
type SubjectAccessReviewInterface interface { 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 localsubjectaccessreview_expansion.go selfsubjectaccessreview.go selfsubjectaccessreview_expansion.go selfsubjectrulesreview.go selfsubjectrulesreview_expansion.go subjectaccessreview.go subjectaccessreview_expansion.go
Directories ¶
Path | Synopsis |
---|---|
deprecated/typed/authorization/v1beta1/fake | Package fake has the automatically generated clients. |
- Version
- v0.18.13
- Published
- Dec 9, 2020
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 second ago –
Tools for package owners.