Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeIperfAlpha1
- type FakeIperfTasks
- func (c *FakeIperfTasks) Create(iperfTask *alpha1.IperfTask) (result *alpha1.IperfTask, err error)
- func (c *FakeIperfTasks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeIperfTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeIperfTasks) Get(name string, options v1.GetOptions) (result *alpha1.IperfTask, err error)
- func (c *FakeIperfTasks) List(opts v1.ListOptions) (result *alpha1.IperfTaskList, err error)
- func (c *FakeIperfTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *alpha1.IperfTask, err error)
- func (c *FakeIperfTasks) Update(iperfTask *alpha1.IperfTask) (result *alpha1.IperfTask, err error)
- func (c *FakeIperfTasks) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIperfAlpha1 ¶
func (*FakeIperfAlpha1) IperfTasks ¶
func (c *FakeIperfAlpha1) IperfTasks(namespace string) alpha1.IperfTaskInterface
func (*FakeIperfAlpha1) RESTClient ¶
func (c *FakeIperfAlpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeIperfTasks ¶
type FakeIperfTasks struct { Fake *FakeIperfAlpha1 // contains filtered or unexported fields }
FakeIperfTasks implements IperfTaskInterface
func (*FakeIperfTasks) Create ¶
Create takes the representation of a iperfTask and creates it. Returns the server's representation of the iperfTask, and an error, if there is any.
func (*FakeIperfTasks) Delete ¶
func (c *FakeIperfTasks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the iperfTask and deletes it. Returns an error if one occurs.
func (*FakeIperfTasks) DeleteCollection ¶
func (c *FakeIperfTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIperfTasks) Get ¶
func (c *FakeIperfTasks) Get(name string, options v1.GetOptions) (result *alpha1.IperfTask, err error)
Get takes name of the iperfTask, and returns the corresponding iperfTask object, and an error if there is any.
func (*FakeIperfTasks) List ¶
func (c *FakeIperfTasks) List(opts v1.ListOptions) (result *alpha1.IperfTaskList, err error)
List takes label and field selectors, and returns the list of IperfTasks that match those selectors.
func (*FakeIperfTasks) Patch ¶
func (c *FakeIperfTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *alpha1.IperfTask, err error)
Patch applies the patch and returns the patched iperfTask.
func (*FakeIperfTasks) Update ¶
Update takes the representation of a iperfTask and updates it. Returns the server's representation of the iperfTask, and an error, if there is any.
func (*FakeIperfTasks) Watch ¶
func (c *FakeIperfTasks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iperfTasks.