Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackends
- func (c *FakeBackends) Create(ctx context.Context, backend *v1.Backend, opts metav1.CreateOptions) (result *v1.Backend, err error)
- func (c *FakeBackends) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeBackends) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeBackends) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Backend, err error)
- func (c *FakeBackends) List(ctx context.Context, opts metav1.ListOptions) (result *v1.BackendList, err error)
- func (c *FakeBackends) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Backend, err error)
- func (c *FakeBackends) Update(ctx context.Context, backend *v1.Backend, opts metav1.UpdateOptions) (result *v1.Backend, err error)
- func (c *FakeBackends) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeDefaults
- func (c *FakeDefaults) Create(ctx context.Context, defaults *v1.Defaults, opts metav1.CreateOptions) (result *v1.Defaults, err error)
- func (c *FakeDefaults) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeDefaults) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeDefaults) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Defaults, err error)
- func (c *FakeDefaults) List(ctx context.Context, opts metav1.ListOptions) (result *v1.DefaultsList, err error)
- func (c *FakeDefaults) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Defaults, err error)
- func (c *FakeDefaults) Update(ctx context.Context, defaults *v1.Defaults, opts metav1.UpdateOptions) (result *v1.Defaults, err error)
- func (c *FakeDefaults) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeGlobals
- func (c *FakeGlobals) Create(ctx context.Context, global *v1.Global, opts metav1.CreateOptions) (result *v1.Global, err error)
- func (c *FakeGlobals) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeGlobals) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeGlobals) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Global, err error)
- func (c *FakeGlobals) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GlobalList, err error)
- func (c *FakeGlobals) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Global, err error)
- func (c *FakeGlobals) Update(ctx context.Context, global *v1.Global, opts metav1.UpdateOptions) (result *v1.Global, err error)
- func (c *FakeGlobals) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeIngressV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackends ¶
type FakeBackends struct { Fake *FakeIngressV1 // contains filtered or unexported fields }
FakeBackends implements BackendInterface
func (*FakeBackends) Create ¶
func (c *FakeBackends) Create(ctx context.Context, backend *v1.Backend, opts metav1.CreateOptions) (result *v1.Backend, err error)
Create takes the representation of a backend and creates it. Returns the server's representation of the backend, and an error, if there is any.
func (*FakeBackends) Delete ¶
func (c *FakeBackends) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the backend and deletes it. Returns an error if one occurs.
func (*FakeBackends) DeleteCollection ¶
func (c *FakeBackends) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackends) Get ¶
func (c *FakeBackends) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Backend, err error)
Get takes name of the backend, and returns the corresponding backend object, and an error if there is any.
func (*FakeBackends) List ¶
func (c *FakeBackends) List(ctx context.Context, opts metav1.ListOptions) (result *v1.BackendList, err error)
List takes label and field selectors, and returns the list of Backends that match those selectors.
func (*FakeBackends) Patch ¶
func (c *FakeBackends) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Backend, err error)
Patch applies the patch and returns the patched backend.
func (*FakeBackends) Update ¶
func (c *FakeBackends) Update(ctx context.Context, backend *v1.Backend, opts metav1.UpdateOptions) (result *v1.Backend, err error)
Update takes the representation of a backend and updates it. Returns the server's representation of the backend, and an error, if there is any.
func (*FakeBackends) Watch ¶
func (c *FakeBackends) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backends.
type FakeDefaults ¶
type FakeDefaults struct { Fake *FakeIngressV1 // contains filtered or unexported fields }
FakeDefaults implements DefaultsInterface
func (*FakeDefaults) Create ¶
func (c *FakeDefaults) Create(ctx context.Context, defaults *v1.Defaults, opts metav1.CreateOptions) (result *v1.Defaults, err error)
Create takes the representation of a defaults and creates it. Returns the server's representation of the defaults, and an error, if there is any.
func (*FakeDefaults) Delete ¶
func (c *FakeDefaults) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the defaults and deletes it. Returns an error if one occurs.
func (*FakeDefaults) DeleteCollection ¶
func (c *FakeDefaults) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDefaults) Get ¶
func (c *FakeDefaults) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Defaults, err error)
Get takes name of the defaults, and returns the corresponding defaults object, and an error if there is any.
func (*FakeDefaults) List ¶
func (c *FakeDefaults) List(ctx context.Context, opts metav1.ListOptions) (result *v1.DefaultsList, err error)
List takes label and field selectors, and returns the list of Defaults that match those selectors.
func (*FakeDefaults) Patch ¶
func (c *FakeDefaults) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Defaults, err error)
Patch applies the patch and returns the patched defaults.
func (*FakeDefaults) Update ¶
func (c *FakeDefaults) Update(ctx context.Context, defaults *v1.Defaults, opts metav1.UpdateOptions) (result *v1.Defaults, err error)
Update takes the representation of a defaults and updates it. Returns the server's representation of the defaults, and an error, if there is any.
func (*FakeDefaults) Watch ¶
func (c *FakeDefaults) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested defaults.
type FakeGlobals ¶
type FakeGlobals struct { Fake *FakeIngressV1 // contains filtered or unexported fields }
FakeGlobals implements GlobalInterface
func (*FakeGlobals) Create ¶
func (c *FakeGlobals) Create(ctx context.Context, global *v1.Global, opts metav1.CreateOptions) (result *v1.Global, err error)
Create takes the representation of a global and creates it. Returns the server's representation of the global, and an error, if there is any.
func (*FakeGlobals) Delete ¶
func (c *FakeGlobals) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the global and deletes it. Returns an error if one occurs.
func (*FakeGlobals) DeleteCollection ¶
func (c *FakeGlobals) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGlobals) Get ¶
func (c *FakeGlobals) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Global, err error)
Get takes name of the global, and returns the corresponding global object, and an error if there is any.
func (*FakeGlobals) List ¶
func (c *FakeGlobals) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GlobalList, err error)
List takes label and field selectors, and returns the list of Globals that match those selectors.
func (*FakeGlobals) Patch ¶
func (c *FakeGlobals) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Global, err error)
Patch applies the patch and returns the patched global.
func (*FakeGlobals) Update ¶
func (c *FakeGlobals) Update(ctx context.Context, global *v1.Global, opts metav1.UpdateOptions) (result *v1.Global, err error)
Update takes the representation of a global and updates it. Returns the server's representation of the global, and an error, if there is any.
func (*FakeGlobals) Watch ¶
func (c *FakeGlobals) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested globals.
type FakeIngressV1 ¶
func (*FakeIngressV1) Backends ¶
func (c *FakeIngressV1) Backends(namespace string) v1.BackendInterface
func (*FakeIngressV1) Defaults ¶
func (c *FakeIngressV1) Defaults(namespace string) v1.DefaultsInterface
func (*FakeIngressV1) Globals ¶
func (c *FakeIngressV1) Globals(namespace string) v1.GlobalInterface
func (*FakeIngressV1) RESTClient ¶
func (c *FakeIngressV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.