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