Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeUser
- 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) Patch(name string, pt pkg_api.PatchType, data []byte, subresources ...string) (result *api.User, 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 FakeUser ¶
func (*FakeUser) RESTClient ¶
func (c *FakeUser) RESTClient() restclient.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeUser) Users ¶
func (c *FakeUser) Users(namespace string) internalversion.UserResourceInterface
type FakeUsers ¶
type FakeUsers struct { Fake *FakeUser // contains filtered or unexported fields }
FakeUsers implements UserResourceInterface
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.