Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AuthorizationClient
- func (c *AuthorizationClient) GetRESTClient() *restclient.RESTClient
- func (c *AuthorizationClient) LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
- func (c *AuthorizationClient) SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface
- func (c *AuthorizationClient) SubjectAccessReviews() SubjectAccessReviewInterface
- type AuthorizationInterface
- type LocalSubjectAccessReviewExpansion
- type LocalSubjectAccessReviewInterface
- type LocalSubjectAccessReviewsGetter
- type SelfSubjectAccessReviewExpansion
- type SelfSubjectAccessReviewInterface
- type SelfSubjectAccessReviewsGetter
- type SubjectAccessReviewExpansion
- type SubjectAccessReviewInterface
- type SubjectAccessReviewsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationClient ¶
type AuthorizationClient struct {
*restclient.RESTClient
}
AuthorizationClient is used to interact with features provided by the Authorization group.
func New ¶
func New(c *restclient.RESTClient) *AuthorizationClient
New creates a new AuthorizationClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *restclient.Config) (*AuthorizationClient, error)
NewForConfig creates a new AuthorizationClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *restclient.Config) *AuthorizationClient
NewForConfigOrDie creates a new AuthorizationClient for the given config and panics if there is an error in the config.
func (*AuthorizationClient) GetRESTClient ¶
func (c *AuthorizationClient) GetRESTClient() *restclient.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AuthorizationClient) LocalSubjectAccessReviews ¶
func (c *AuthorizationClient) LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
func (*AuthorizationClient) SelfSubjectAccessReviews ¶
func (c *AuthorizationClient) SelfSubjectAccessReviews() SelfSubjectAccessReviewInterface
func (*AuthorizationClient) SubjectAccessReviews ¶
func (c *AuthorizationClient) SubjectAccessReviews() SubjectAccessReviewInterface
type AuthorizationInterface ¶
type AuthorizationInterface interface { GetRESTClient() *restclient.RESTClient LocalSubjectAccessReviewsGetter SelfSubjectAccessReviewsGetter SubjectAccessReviewsGetter }
type LocalSubjectAccessReviewExpansion ¶
type LocalSubjectAccessReviewExpansion interface {
Create(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)
}
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 SubjectAccessReviewExpansion ¶
type SubjectAccessReviewExpansion interface {
Create(sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error)
}
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.