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