Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApiextensions
- type FakeCustomResources
- func (c *FakeCustomResources) Create(customResource *apiextensions.CustomResource) (result *apiextensions.CustomResource, err error)
- func (c *FakeCustomResources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCustomResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCustomResources) Get(name string, options v1.GetOptions) (result *apiextensions.CustomResource, err error)
- func (c *FakeCustomResources) List(opts v1.ListOptions) (result *apiextensions.CustomResourceList, err error)
- func (c *FakeCustomResources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apiextensions.CustomResource, err error)
- func (c *FakeCustomResources) Update(customResource *apiextensions.CustomResource) (result *apiextensions.CustomResource, err error)
- func (c *FakeCustomResources) UpdateStatus(customResource *apiextensions.CustomResource) (*apiextensions.CustomResource, error)
- func (c *FakeCustomResources) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApiextensions ¶
func (*FakeApiextensions) CustomResources ¶
func (c *FakeApiextensions) CustomResources() internalversion.CustomResourceInterface
func (*FakeApiextensions) RESTClient ¶
func (c *FakeApiextensions) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeCustomResources ¶
type FakeCustomResources struct {
Fake *FakeApiextensions
}
FakeCustomResources implements CustomResourceInterface
func (*FakeCustomResources) Create ¶
func (c *FakeCustomResources) Create(customResource *apiextensions.CustomResource) (result *apiextensions.CustomResource, err error)
func (*FakeCustomResources) Delete ¶
func (c *FakeCustomResources) Delete(name string, options *v1.DeleteOptions) error
func (*FakeCustomResources) DeleteCollection ¶
func (c *FakeCustomResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeCustomResources) Get ¶
func (c *FakeCustomResources) Get(name string, options v1.GetOptions) (result *apiextensions.CustomResource, err error)
func (*FakeCustomResources) List ¶
func (c *FakeCustomResources) List(opts v1.ListOptions) (result *apiextensions.CustomResourceList, err error)
func (*FakeCustomResources) Patch ¶
func (c *FakeCustomResources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apiextensions.CustomResource, err error)
Patch applies the patch and returns the patched customResource.
func (*FakeCustomResources) Update ¶
func (c *FakeCustomResources) Update(customResource *apiextensions.CustomResource) (result *apiextensions.CustomResource, err error)
func (*FakeCustomResources) UpdateStatus ¶
func (c *FakeCustomResources) UpdateStatus(customResource *apiextensions.CustomResource) (*apiextensions.CustomResource, error)
func (*FakeCustomResources) Watch ¶
func (c *FakeCustomResources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customResources.
Click to show internal directories.
Click to hide internal directories.