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