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