Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCustomV1alpha1
- type FakeTaskGroups
- func (c *FakeTaskGroups) Create(ctx context.Context, taskGroup *v1alpha1.TaskGroup, opts v1.CreateOptions) (result *v1alpha1.TaskGroup, err error)
- func (c *FakeTaskGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTaskGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTaskGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TaskGroup, err error)
- func (c *FakeTaskGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TaskGroupList, err error)
- func (c *FakeTaskGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TaskGroup, err error)
- func (c *FakeTaskGroups) Update(ctx context.Context, taskGroup *v1alpha1.TaskGroup, opts v1.UpdateOptions) (result *v1alpha1.TaskGroup, err error)
- func (c *FakeTaskGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCustomV1alpha1 ¶
func (*FakeCustomV1alpha1) RESTClient ¶
func (c *FakeCustomV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCustomV1alpha1) TaskGroups ¶
func (c *FakeCustomV1alpha1) TaskGroups(namespace string) v1alpha1.TaskGroupInterface
type FakeTaskGroups ¶
type FakeTaskGroups struct { Fake *FakeCustomV1alpha1 // contains filtered or unexported fields }
FakeTaskGroups implements TaskGroupInterface
func (*FakeTaskGroups) Create ¶
func (c *FakeTaskGroups) Create(ctx context.Context, taskGroup *v1alpha1.TaskGroup, opts v1.CreateOptions) (result *v1alpha1.TaskGroup, err error)
Create takes the representation of a taskGroup and creates it. Returns the server's representation of the taskGroup, and an error, if there is any.
func (*FakeTaskGroups) Delete ¶
func (c *FakeTaskGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the taskGroup and deletes it. Returns an error if one occurs.
func (*FakeTaskGroups) DeleteCollection ¶
func (c *FakeTaskGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTaskGroups) Get ¶
func (c *FakeTaskGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TaskGroup, err error)
Get takes name of the taskGroup, and returns the corresponding taskGroup object, and an error if there is any.
func (*FakeTaskGroups) List ¶
func (c *FakeTaskGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TaskGroupList, err error)
List takes label and field selectors, and returns the list of TaskGroups that match those selectors.
func (*FakeTaskGroups) Patch ¶
func (c *FakeTaskGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TaskGroup, err error)
Patch applies the patch and returns the patched taskGroup.
func (*FakeTaskGroups) Update ¶
func (c *FakeTaskGroups) Update(ctx context.Context, taskGroup *v1alpha1.TaskGroup, opts v1.UpdateOptions) (result *v1alpha1.TaskGroup, err error)
Update takes the representation of a taskGroup and updates it. Returns the server's representation of the taskGroup, and an error, if there is any.
func (*FakeTaskGroups) Watch ¶
func (c *FakeTaskGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested taskGroups.