Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeOAuthClients
- func (c *FakeOAuthClients) Create(oAuthClient *v1.OAuthClient) (result *v1.OAuthClient, err error)
- func (c *FakeOAuthClients) Delete(name string, options *api_v1.DeleteOptions) error
- func (c *FakeOAuthClients) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
- func (c *FakeOAuthClients) Get(name string) (result *v1.OAuthClient, err error)
- func (c *FakeOAuthClients) List(opts api_v1.ListOptions) (result *v1.OAuthClientList, err error)
- func (c *FakeOAuthClients) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.OAuthClient, err error)
- func (c *FakeOAuthClients) Update(oAuthClient *v1.OAuthClient) (result *v1.OAuthClient, err error)
- func (c *FakeOAuthClients) Watch(opts api_v1.ListOptions) (watch.Interface, error)
- type FakeOauthV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOAuthClients ¶
type FakeOAuthClients struct { Fake *FakeOauthV1 // contains filtered or unexported fields }
FakeOAuthClients implements OAuthClientInterface
func (*FakeOAuthClients) Create ¶
func (c *FakeOAuthClients) Create(oAuthClient *v1.OAuthClient) (result *v1.OAuthClient, err error)
func (*FakeOAuthClients) Delete ¶
func (c *FakeOAuthClients) Delete(name string, options *api_v1.DeleteOptions) error
func (*FakeOAuthClients) DeleteCollection ¶
func (c *FakeOAuthClients) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
func (*FakeOAuthClients) Get ¶
func (c *FakeOAuthClients) Get(name string) (result *v1.OAuthClient, err error)
func (*FakeOAuthClients) List ¶
func (c *FakeOAuthClients) List(opts api_v1.ListOptions) (result *v1.OAuthClientList, err error)
func (*FakeOAuthClients) Patch ¶
func (c *FakeOAuthClients) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.OAuthClient, err error)
Patch applies the patch and returns the patched oAuthClient.
func (*FakeOAuthClients) Update ¶
func (c *FakeOAuthClients) Update(oAuthClient *v1.OAuthClient) (result *v1.OAuthClient, err error)
func (*FakeOAuthClients) Watch ¶
func (c *FakeOAuthClients) Watch(opts api_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested oAuthClients.
type FakeOauthV1 ¶
func (*FakeOauthV1) OAuthClients ¶
func (c *FakeOauthV1) OAuthClients(namespace string) v1.OAuthClientInterface
func (*FakeOauthV1) RESTClient ¶
func (c *FakeOauthV1) RESTClient() restclient.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
Click to show internal directories.
Click to hide internal directories.