Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCore
- type FakeUsers
- func (c *FakeUsers) Create(user *api.User) (result *api.User, err error)
- func (c *FakeUsers) Delete(name string, options *pkg_api.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
- func (c *FakeUsers) Get(name string) (result *api.User, err error)
- func (c *FakeUsers) List(opts pkg_api.ListOptions) (result *api.UserList, err error)
- func (c *FakeUsers) Update(user *api.User) (result *api.User, err error)
- func (c *FakeUsers) 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) Users ¶
func (c *FakeCore) Users(namespace string) unversioned.UserInterface
type FakeUsers ¶
type FakeUsers struct { Fake *FakeCore // contains filtered or unexported fields }
FakeUsers implements UserInterface
func (*FakeUsers) Delete ¶
func (c *FakeUsers) Delete(name string, options *pkg_api.DeleteOptions) error
func (*FakeUsers) DeleteCollection ¶
func (c *FakeUsers) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
Click to show internal directories.
Click to hide internal directories.