Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeUserV1
- type FakeUsers
- func (c *FakeUsers) Create(user *v1.User) (result *v1.User, err error)
- func (c *FakeUsers) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeUsers) Get(name string, options meta_v1.GetOptions) (result *v1.User, err error)
- func (c *FakeUsers) List(opts meta_v1.ListOptions) (result *v1.UserList, err error)
- func (c *FakeUsers) Patch(name string, pt types.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 meta_v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeUserV1 ¶
func (*FakeUserV1) RESTClient ¶
func (c *FakeUserV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeUserV1) Users ¶
func (c *FakeUserV1) Users(namespace string) v1.UserResourceInterface
type FakeUsers ¶
type FakeUsers struct { Fake *FakeUserV1 // contains filtered or unexported fields }
FakeUsers implements UserResourceInterface
func (*FakeUsers) Delete ¶
func (c *FakeUsers) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeUsers) DeleteCollection ¶
func (c *FakeUsers) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Click to show internal directories.
Click to hide internal directories.