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