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