Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFischers
- func (c *FakeFischers) Create(fischer *wardle.Fischer) (result *wardle.Fischer, err error)
- func (c *FakeFischers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFischers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFischers) Get(name string, options v1.GetOptions) (result *wardle.Fischer, err error)
- func (c *FakeFischers) List(opts v1.ListOptions) (result *wardle.FischerList, err error)
- func (c *FakeFischers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *wardle.Fischer, err error)
- func (c *FakeFischers) Update(fischer *wardle.Fischer) (result *wardle.Fischer, err error)
- func (c *FakeFischers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeFlunders
- func (c *FakeFlunders) Create(flunder *wardle.Flunder) (result *wardle.Flunder, err error)
- func (c *FakeFlunders) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFlunders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFlunders) Get(name string, options v1.GetOptions) (result *wardle.Flunder, err error)
- func (c *FakeFlunders) List(opts v1.ListOptions) (result *wardle.FlunderList, err error)
- func (c *FakeFlunders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *wardle.Flunder, err error)
- func (c *FakeFlunders) Update(flunder *wardle.Flunder) (result *wardle.Flunder, err error)
- func (c *FakeFlunders) UpdateStatus(flunder *wardle.Flunder) (*wardle.Flunder, error)
- func (c *FakeFlunders) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeWardle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFischers ¶
type FakeFischers struct {
Fake *FakeWardle
}
FakeFischers implements FischerInterface
func (*FakeFischers) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFischers) Get ¶
func (c *FakeFischers) Get(name string, options v1.GetOptions) (result *wardle.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(opts v1.ListOptions) (result *wardle.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *wardle.Fischer, err error)
Patch applies the patch and returns the patched fischer.
func (*FakeFischers) Update ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested fischers.
type FakeFlunders ¶
type FakeFlunders struct { Fake *FakeWardle // contains filtered or unexported fields }
FakeFlunders implements FlunderInterface
func (*FakeFlunders) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFlunders) Get ¶
func (c *FakeFlunders) Get(name string, options v1.GetOptions) (result *wardle.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(opts v1.ListOptions) (result *wardle.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *wardle.Flunder, err error)
Patch applies the patch and returns the patched flunder.
func (*FakeFlunders) Update ¶
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 ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested flunders.
type FakeWardle ¶
func (*FakeWardle) Fischers ¶
func (c *FakeWardle) Fischers() internalversion.FischerInterface
func (*FakeWardle) Flunders ¶
func (c *FakeWardle) Flunders(namespace string) internalversion.FlunderInterface
func (*FakeWardle) RESTClient ¶
func (c *FakeWardle) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.