Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type OAuthAccessTokenExpansion
- type OAuthAccessTokenInterface
- type OAuthAccessTokensGetter
- type OAuthAuthorizeTokenExpansion
- type OAuthAuthorizeTokenInterface
- type OAuthAuthorizeTokensGetter
- type OAuthClientAuthorizationExpansion
- type OAuthClientAuthorizationInterface
- type OAuthClientAuthorizationsGetter
- type OAuthClientExpansion
- type OAuthClientInterface
- type OAuthClientsGetter
- type OauthV1Client
- func (c *OauthV1Client) OAuthAccessTokens() OAuthAccessTokenInterface
- func (c *OauthV1Client) OAuthAuthorizeTokens() OAuthAuthorizeTokenInterface
- func (c *OauthV1Client) OAuthClientAuthorizations() OAuthClientAuthorizationInterface
- func (c *OauthV1Client) OAuthClients() OAuthClientInterface
- func (c *OauthV1Client) RESTClient() rest.Interface
- func (c *OauthV1Client) UserOAuthAccessTokens() UserOAuthAccessTokenInterface
- type OauthV1Interface
- type UserOAuthAccessTokenExpansion
- type UserOAuthAccessTokenInterface
- type UserOAuthAccessTokensGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuthAccessTokenExpansion ¶
type OAuthAccessTokenExpansion interface{}
type OAuthAccessTokenInterface ¶
type OAuthAccessTokenInterface interface { Create(ctx context.Context, oAuthAccessToken *v1.OAuthAccessToken, opts metav1.CreateOptions) (*v1.OAuthAccessToken, error) Update(ctx context.Context, oAuthAccessToken *v1.OAuthAccessToken, opts metav1.UpdateOptions) (*v1.OAuthAccessToken, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.OAuthAccessToken, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.OAuthAccessTokenList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.OAuthAccessToken, err error) Apply(ctx context.Context, oAuthAccessToken *oauthv1.OAuthAccessTokenApplyConfiguration, opts metav1.ApplyOptions) (result *v1.OAuthAccessToken, err error) OAuthAccessTokenExpansion }
OAuthAccessTokenInterface has methods to work with OAuthAccessToken resources.
type OAuthAccessTokensGetter ¶
type OAuthAccessTokensGetter interface {
OAuthAccessTokens() OAuthAccessTokenInterface
}
OAuthAccessTokensGetter has a method to return a OAuthAccessTokenInterface. A group's client should implement this interface.
type OAuthAuthorizeTokenExpansion ¶
type OAuthAuthorizeTokenExpansion interface{}
type OAuthAuthorizeTokenInterface ¶
type OAuthAuthorizeTokenInterface interface { Create(ctx context.Context, oAuthAuthorizeToken *v1.OAuthAuthorizeToken, opts metav1.CreateOptions) (*v1.OAuthAuthorizeToken, error) Update(ctx context.Context, oAuthAuthorizeToken *v1.OAuthAuthorizeToken, opts metav1.UpdateOptions) (*v1.OAuthAuthorizeToken, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.OAuthAuthorizeToken, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.OAuthAuthorizeTokenList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.OAuthAuthorizeToken, err error) Apply(ctx context.Context, oAuthAuthorizeToken *oauthv1.OAuthAuthorizeTokenApplyConfiguration, opts metav1.ApplyOptions) (result *v1.OAuthAuthorizeToken, err error) OAuthAuthorizeTokenExpansion }
OAuthAuthorizeTokenInterface has methods to work with OAuthAuthorizeToken resources.
type OAuthAuthorizeTokensGetter ¶
type OAuthAuthorizeTokensGetter interface {
OAuthAuthorizeTokens() OAuthAuthorizeTokenInterface
}
OAuthAuthorizeTokensGetter has a method to return a OAuthAuthorizeTokenInterface. A group's client should implement this interface.
type OAuthClientAuthorizationExpansion ¶
type OAuthClientAuthorizationExpansion interface{}
type OAuthClientAuthorizationInterface ¶
type OAuthClientAuthorizationInterface interface { Create(ctx context.Context, oAuthClientAuthorization *v1.OAuthClientAuthorization, opts metav1.CreateOptions) (*v1.OAuthClientAuthorization, error) Update(ctx context.Context, oAuthClientAuthorization *v1.OAuthClientAuthorization, opts metav1.UpdateOptions) (*v1.OAuthClientAuthorization, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.OAuthClientAuthorization, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.OAuthClientAuthorizationList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.OAuthClientAuthorization, err error) Apply(ctx context.Context, oAuthClientAuthorization *oauthv1.OAuthClientAuthorizationApplyConfiguration, opts metav1.ApplyOptions) (result *v1.OAuthClientAuthorization, err error) OAuthClientAuthorizationExpansion }
OAuthClientAuthorizationInterface has methods to work with OAuthClientAuthorization resources.
type OAuthClientAuthorizationsGetter ¶
type OAuthClientAuthorizationsGetter interface {
OAuthClientAuthorizations() OAuthClientAuthorizationInterface
}
OAuthClientAuthorizationsGetter has a method to return a OAuthClientAuthorizationInterface. A group's client should implement this interface.
type OAuthClientExpansion ¶
type OAuthClientExpansion interface{}
type OAuthClientInterface ¶
type OAuthClientInterface interface { Create(ctx context.Context, oAuthClient *v1.OAuthClient, opts metav1.CreateOptions) (*v1.OAuthClient, error) Update(ctx context.Context, oAuthClient *v1.OAuthClient, opts metav1.UpdateOptions) (*v1.OAuthClient, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.OAuthClient, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.OAuthClientList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.OAuthClient, err error) Apply(ctx context.Context, oAuthClient *oauthv1.OAuthClientApplyConfiguration, opts metav1.ApplyOptions) (result *v1.OAuthClient, err error) OAuthClientExpansion }
OAuthClientInterface has methods to work with OAuthClient resources.
type OAuthClientsGetter ¶
type OAuthClientsGetter interface {
OAuthClients() OAuthClientInterface
}
OAuthClientsGetter has a method to return a OAuthClientInterface. A group's client should implement this interface.
type OauthV1Client ¶
type OauthV1Client struct {
// contains filtered or unexported fields
}
OauthV1Client is used to interact with features provided by the oauth.openshift.io group.
func New ¶
func New(c rest.Interface) *OauthV1Client
New creates a new OauthV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*OauthV1Client, error)
NewForConfig creates a new OauthV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new OauthV1Client 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) *OauthV1Client
NewForConfigOrDie creates a new OauthV1Client for the given config and panics if there is an error in the config.
func (*OauthV1Client) OAuthAccessTokens ¶
func (c *OauthV1Client) OAuthAccessTokens() OAuthAccessTokenInterface
func (*OauthV1Client) OAuthAuthorizeTokens ¶
func (c *OauthV1Client) OAuthAuthorizeTokens() OAuthAuthorizeTokenInterface
func (*OauthV1Client) OAuthClientAuthorizations ¶
func (c *OauthV1Client) OAuthClientAuthorizations() OAuthClientAuthorizationInterface
func (*OauthV1Client) OAuthClients ¶
func (c *OauthV1Client) OAuthClients() OAuthClientInterface
func (*OauthV1Client) RESTClient ¶
func (c *OauthV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*OauthV1Client) UserOAuthAccessTokens ¶
func (c *OauthV1Client) UserOAuthAccessTokens() UserOAuthAccessTokenInterface
type OauthV1Interface ¶
type OauthV1Interface interface { RESTClient() rest.Interface OAuthAccessTokensGetter OAuthAuthorizeTokensGetter OAuthClientsGetter OAuthClientAuthorizationsGetter UserOAuthAccessTokensGetter }
type UserOAuthAccessTokenExpansion ¶
type UserOAuthAccessTokenExpansion interface{}
type UserOAuthAccessTokenInterface ¶
type UserOAuthAccessTokenInterface interface { Create(ctx context.Context, userOAuthAccessToken *v1.UserOAuthAccessToken, opts metav1.CreateOptions) (*v1.UserOAuthAccessToken, error) Update(ctx context.Context, userOAuthAccessToken *v1.UserOAuthAccessToken, opts metav1.UpdateOptions) (*v1.UserOAuthAccessToken, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.UserOAuthAccessToken, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.UserOAuthAccessTokenList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.UserOAuthAccessToken, err error) Apply(ctx context.Context, userOAuthAccessToken *oauthv1.UserOAuthAccessTokenApplyConfiguration, opts metav1.ApplyOptions) (result *v1.UserOAuthAccessToken, err error) UserOAuthAccessTokenExpansion }
UserOAuthAccessTokenInterface has methods to work with UserOAuthAccessToken resources.
type UserOAuthAccessTokensGetter ¶
type UserOAuthAccessTokensGetter interface {
UserOAuthAccessTokens() UserOAuthAccessTokenInterface
}
UserOAuthAccessTokensGetter has a method to return a UserOAuthAccessTokenInterface. A group's client should implement this interface.