Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAPIs
- func (c *FakeAPIs) Create(aPI *v1alpha1.API) (result *v1alpha1.API, err error)
- func (c *FakeAPIs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAPIs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAPIs) Get(name string, options v1.GetOptions) (result *v1alpha1.API, err error)
- func (c *FakeAPIs) List(opts v1.ListOptions) (result *v1alpha1.APIList, err error)
- func (c *FakeAPIs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.API, err error)
- func (c *FakeAPIs) Update(aPI *v1alpha1.API) (result *v1alpha1.API, err error)
- func (c *FakeAPIs) UpdateStatus(aPI *v1alpha1.API) (*v1alpha1.API, error)
- func (c *FakeAPIs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKudzuV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAPIs ¶
type FakeAPIs struct {
Fake *FakeKudzuV1alpha1
}
FakeAPIs implements APIInterface
func (*FakeAPIs) Create ¶
Create takes the representation of a aPI and creates it. Returns the server's representation of the aPI, and an error, if there is any.
func (*FakeAPIs) Delete ¶
func (c *FakeAPIs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the aPI and deletes it. Returns an error if one occurs.
func (*FakeAPIs) DeleteCollection ¶
func (c *FakeAPIs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPIs) Get ¶
Get takes name of the aPI, and returns the corresponding aPI object, and an error if there is any.
func (*FakeAPIs) List ¶
List takes label and field selectors, and returns the list of APIs that match those selectors.
func (*FakeAPIs) Patch ¶
func (c *FakeAPIs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.API, err error)
Patch applies the patch and returns the patched aPI.
func (*FakeAPIs) Update ¶
Update takes the representation of a aPI and updates it. Returns the server's representation of the aPI, and an error, if there is any.
func (*FakeAPIs) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeKudzuV1alpha1 ¶
func (*FakeKudzuV1alpha1) APIs ¶
func (c *FakeKudzuV1alpha1) APIs() v1alpha1.APIInterface
func (*FakeKudzuV1alpha1) RESTClient ¶
func (c *FakeKudzuV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.