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