Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeUser
- type FakeUsers
- func (c *FakeUsers) Create(userResource *user.User) (result *user.User, err error)
- func (c *FakeUsers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUsers) Get(name string, options v1.GetOptions) (result *user.User, err error)
- func (c *FakeUsers) List(opts v1.ListOptions) (result *user.UserList, err error)
- func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *user.User, err error)
- func (c *FakeUsers) Update(userResource *user.User) (result *user.User, err error)
- func (c *FakeUsers) Watch(opts v1.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 ¶
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) DeleteCollection ¶
func (c *FakeUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeUsers) Patch ¶
func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *user.User, err error)
Patch applies the patch and returns the patched userResource.
Click to show internal directories.
Click to hide internal directories.