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