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