Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeOAuthAccessTokens
- func (c *FakeOAuthAccessTokens) Create(oAuthAccessToken *oauth.OAuthAccessToken) (result *oauth.OAuthAccessToken, err error)
- func (c *FakeOAuthAccessTokens) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeOAuthAccessTokens) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeOAuthAccessTokens) Get(name string, options v1.GetOptions) (result *oauth.OAuthAccessToken, err error)
- func (c *FakeOAuthAccessTokens) List(opts v1.ListOptions) (result *oauth.OAuthAccessTokenList, err error)
- func (c *FakeOAuthAccessTokens) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *oauth.OAuthAccessToken, err error)
- func (c *FakeOAuthAccessTokens) Update(oAuthAccessToken *oauth.OAuthAccessToken) (result *oauth.OAuthAccessToken, err error)
- func (c *FakeOAuthAccessTokens) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOAuthAuthorizeTokens
- func (c *FakeOAuthAuthorizeTokens) Create(oAuthAuthorizeToken *oauth.OAuthAuthorizeToken) (result *oauth.OAuthAuthorizeToken, err error)
- func (c *FakeOAuthAuthorizeTokens) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeOAuthAuthorizeTokens) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeOAuthAuthorizeTokens) Get(name string, options v1.GetOptions) (result *oauth.OAuthAuthorizeToken, err error)
- func (c *FakeOAuthAuthorizeTokens) List(opts v1.ListOptions) (result *oauth.OAuthAuthorizeTokenList, err error)
- func (c *FakeOAuthAuthorizeTokens) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *oauth.OAuthAuthorizeToken, err error)
- func (c *FakeOAuthAuthorizeTokens) Update(oAuthAuthorizeToken *oauth.OAuthAuthorizeToken) (result *oauth.OAuthAuthorizeToken, err error)
- func (c *FakeOAuthAuthorizeTokens) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOAuthClientAuthorizations
- func (c *FakeOAuthClientAuthorizations) Create(oAuthClientAuthorization *oauth.OAuthClientAuthorization) (result *oauth.OAuthClientAuthorization, err error)
- func (c *FakeOAuthClientAuthorizations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeOAuthClientAuthorizations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeOAuthClientAuthorizations) Get(name string, options v1.GetOptions) (result *oauth.OAuthClientAuthorization, err error)
- func (c *FakeOAuthClientAuthorizations) List(opts v1.ListOptions) (result *oauth.OAuthClientAuthorizationList, err error)
- func (c *FakeOAuthClientAuthorizations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *oauth.OAuthClientAuthorization, err error)
- func (c *FakeOAuthClientAuthorizations) Update(oAuthClientAuthorization *oauth.OAuthClientAuthorization) (result *oauth.OAuthClientAuthorization, err error)
- func (c *FakeOAuthClientAuthorizations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOAuthClients
- func (c *FakeOAuthClients) Create(oAuthClient *oauth.OAuthClient) (result *oauth.OAuthClient, err error)
- func (c *FakeOAuthClients) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeOAuthClients) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeOAuthClients) Get(name string, options v1.GetOptions) (result *oauth.OAuthClient, err error)
- func (c *FakeOAuthClients) List(opts v1.ListOptions) (result *oauth.OAuthClientList, err error)
- func (c *FakeOAuthClients) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *oauth.OAuthClient, err error)
- func (c *FakeOAuthClients) Update(oAuthClient *oauth.OAuthClient) (result *oauth.OAuthClient, err error)
- func (c *FakeOAuthClients) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOauth
- func (c *FakeOauth) OAuthAccessTokens() internalversion.OAuthAccessTokenInterface
- func (c *FakeOauth) OAuthAuthorizeTokens() internalversion.OAuthAuthorizeTokenInterface
- func (c *FakeOauth) OAuthClientAuthorizations() internalversion.OAuthClientAuthorizationInterface
- func (c *FakeOauth) OAuthClients() internalversion.OAuthClientInterface
- func (c *FakeOauth) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOAuthAccessTokens ¶
type FakeOAuthAccessTokens struct {
Fake *FakeOauth
}
FakeOAuthAccessTokens implements OAuthAccessTokenInterface
func (*FakeOAuthAccessTokens) Create ¶
func (c *FakeOAuthAccessTokens) Create(oAuthAccessToken *oauth.OAuthAccessToken) (result *oauth.OAuthAccessToken, err error)
Create takes the representation of a oAuthAccessToken and creates it. Returns the server's representation of the oAuthAccessToken, and an error, if there is any.
func (*FakeOAuthAccessTokens) Delete ¶
func (c *FakeOAuthAccessTokens) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the oAuthAccessToken and deletes it. Returns an error if one occurs.
func (*FakeOAuthAccessTokens) DeleteCollection ¶
func (c *FakeOAuthAccessTokens) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOAuthAccessTokens) Get ¶
func (c *FakeOAuthAccessTokens) Get(name string, options v1.GetOptions) (result *oauth.OAuthAccessToken, err error)
Get takes name of the oAuthAccessToken, and returns the corresponding oAuthAccessToken object, and an error if there is any.
func (*FakeOAuthAccessTokens) List ¶
func (c *FakeOAuthAccessTokens) List(opts v1.ListOptions) (result *oauth.OAuthAccessTokenList, err error)
List takes label and field selectors, and returns the list of OAuthAccessTokens that match those selectors.
func (*FakeOAuthAccessTokens) Patch ¶
func (c *FakeOAuthAccessTokens) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *oauth.OAuthAccessToken, err error)
Patch applies the patch and returns the patched oAuthAccessToken.
func (*FakeOAuthAccessTokens) Update ¶
func (c *FakeOAuthAccessTokens) Update(oAuthAccessToken *oauth.OAuthAccessToken) (result *oauth.OAuthAccessToken, err error)
Update takes the representation of a oAuthAccessToken and updates it. Returns the server's representation of the oAuthAccessToken, and an error, if there is any.
func (*FakeOAuthAccessTokens) Watch ¶
func (c *FakeOAuthAccessTokens) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested oAuthAccessTokens.
type FakeOAuthAuthorizeTokens ¶
type FakeOAuthAuthorizeTokens struct {
Fake *FakeOauth
}
FakeOAuthAuthorizeTokens implements OAuthAuthorizeTokenInterface
func (*FakeOAuthAuthorizeTokens) Create ¶
func (c *FakeOAuthAuthorizeTokens) Create(oAuthAuthorizeToken *oauth.OAuthAuthorizeToken) (result *oauth.OAuthAuthorizeToken, err error)
Create takes the representation of a oAuthAuthorizeToken and creates it. Returns the server's representation of the oAuthAuthorizeToken, and an error, if there is any.
func (*FakeOAuthAuthorizeTokens) Delete ¶
func (c *FakeOAuthAuthorizeTokens) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the oAuthAuthorizeToken and deletes it. Returns an error if one occurs.
func (*FakeOAuthAuthorizeTokens) DeleteCollection ¶
func (c *FakeOAuthAuthorizeTokens) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOAuthAuthorizeTokens) Get ¶
func (c *FakeOAuthAuthorizeTokens) Get(name string, options v1.GetOptions) (result *oauth.OAuthAuthorizeToken, err error)
Get takes name of the oAuthAuthorizeToken, and returns the corresponding oAuthAuthorizeToken object, and an error if there is any.
func (*FakeOAuthAuthorizeTokens) List ¶
func (c *FakeOAuthAuthorizeTokens) List(opts v1.ListOptions) (result *oauth.OAuthAuthorizeTokenList, err error)
List takes label and field selectors, and returns the list of OAuthAuthorizeTokens that match those selectors.
func (*FakeOAuthAuthorizeTokens) Patch ¶
func (c *FakeOAuthAuthorizeTokens) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *oauth.OAuthAuthorizeToken, err error)
Patch applies the patch and returns the patched oAuthAuthorizeToken.
func (*FakeOAuthAuthorizeTokens) Update ¶
func (c *FakeOAuthAuthorizeTokens) Update(oAuthAuthorizeToken *oauth.OAuthAuthorizeToken) (result *oauth.OAuthAuthorizeToken, err error)
Update takes the representation of a oAuthAuthorizeToken and updates it. Returns the server's representation of the oAuthAuthorizeToken, and an error, if there is any.
func (*FakeOAuthAuthorizeTokens) Watch ¶
func (c *FakeOAuthAuthorizeTokens) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested oAuthAuthorizeTokens.
type FakeOAuthClientAuthorizations ¶
type FakeOAuthClientAuthorizations struct {
Fake *FakeOauth
}
FakeOAuthClientAuthorizations implements OAuthClientAuthorizationInterface
func (*FakeOAuthClientAuthorizations) Create ¶
func (c *FakeOAuthClientAuthorizations) Create(oAuthClientAuthorization *oauth.OAuthClientAuthorization) (result *oauth.OAuthClientAuthorization, err error)
Create takes the representation of a oAuthClientAuthorization and creates it. Returns the server's representation of the oAuthClientAuthorization, and an error, if there is any.
func (*FakeOAuthClientAuthorizations) Delete ¶
func (c *FakeOAuthClientAuthorizations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the oAuthClientAuthorization and deletes it. Returns an error if one occurs.
func (*FakeOAuthClientAuthorizations) DeleteCollection ¶
func (c *FakeOAuthClientAuthorizations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOAuthClientAuthorizations) Get ¶
func (c *FakeOAuthClientAuthorizations) Get(name string, options v1.GetOptions) (result *oauth.OAuthClientAuthorization, err error)
Get takes name of the oAuthClientAuthorization, and returns the corresponding oAuthClientAuthorization object, and an error if there is any.
func (*FakeOAuthClientAuthorizations) List ¶
func (c *FakeOAuthClientAuthorizations) List(opts v1.ListOptions) (result *oauth.OAuthClientAuthorizationList, err error)
List takes label and field selectors, and returns the list of OAuthClientAuthorizations that match those selectors.
func (*FakeOAuthClientAuthorizations) Patch ¶
func (c *FakeOAuthClientAuthorizations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *oauth.OAuthClientAuthorization, err error)
Patch applies the patch and returns the patched oAuthClientAuthorization.
func (*FakeOAuthClientAuthorizations) Update ¶
func (c *FakeOAuthClientAuthorizations) Update(oAuthClientAuthorization *oauth.OAuthClientAuthorization) (result *oauth.OAuthClientAuthorization, err error)
Update takes the representation of a oAuthClientAuthorization and updates it. Returns the server's representation of the oAuthClientAuthorization, and an error, if there is any.
func (*FakeOAuthClientAuthorizations) Watch ¶
func (c *FakeOAuthClientAuthorizations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested oAuthClientAuthorizations.
type FakeOAuthClients ¶
type FakeOAuthClients struct {
Fake *FakeOauth
}
FakeOAuthClients implements OAuthClientInterface
func (*FakeOAuthClients) Create ¶
func (c *FakeOAuthClients) Create(oAuthClient *oauth.OAuthClient) (result *oauth.OAuthClient, err error)
Create takes the representation of a oAuthClient and creates it. Returns the server's representation of the oAuthClient, and an error, if there is any.
func (*FakeOAuthClients) Delete ¶
func (c *FakeOAuthClients) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the oAuthClient and deletes it. Returns an error if one occurs.
func (*FakeOAuthClients) DeleteCollection ¶
func (c *FakeOAuthClients) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOAuthClients) Get ¶
func (c *FakeOAuthClients) Get(name string, options v1.GetOptions) (result *oauth.OAuthClient, err error)
Get takes name of the oAuthClient, and returns the corresponding oAuthClient object, and an error if there is any.
func (*FakeOAuthClients) List ¶
func (c *FakeOAuthClients) List(opts v1.ListOptions) (result *oauth.OAuthClientList, err error)
List takes label and field selectors, and returns the list of OAuthClients that match those selectors.
func (*FakeOAuthClients) Patch ¶
func (c *FakeOAuthClients) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *oauth.OAuthClient, err error)
Patch applies the patch and returns the patched oAuthClient.
func (*FakeOAuthClients) Update ¶
func (c *FakeOAuthClients) Update(oAuthClient *oauth.OAuthClient) (result *oauth.OAuthClient, err error)
Update takes the representation of a oAuthClient and updates it. Returns the server's representation of the oAuthClient, and an error, if there is any.
func (*FakeOAuthClients) Watch ¶
func (c *FakeOAuthClients) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested oAuthClients.
type FakeOauth ¶
func (*FakeOauth) OAuthAccessTokens ¶
func (c *FakeOauth) OAuthAccessTokens() internalversion.OAuthAccessTokenInterface
func (*FakeOauth) OAuthAuthorizeTokens ¶
func (c *FakeOauth) OAuthAuthorizeTokens() internalversion.OAuthAuthorizeTokenInterface
func (*FakeOauth) OAuthClientAuthorizations ¶
func (c *FakeOauth) OAuthClientAuthorizations() internalversion.OAuthClientAuthorizationInterface
func (*FakeOauth) OAuthClients ¶
func (c *FakeOauth) OAuthClients() internalversion.OAuthClientInterface
func (*FakeOauth) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.