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