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