Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOAuthClients ¶
type FakeOAuthClients struct { Fake *FakeOauth // contains filtered or unexported fields }
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) OAuthClients ¶
func (c *FakeOauth) OAuthClients(namespace string) internalversion.OAuthClientInterface
func (*FakeOauth) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.