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