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