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