Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackendConfigs
- func (c *FakeBackendConfigs) Create(ctx context.Context, backendConfig *v1alpha1.BackendConfig, ...) (result *v1alpha1.BackendConfig, err error)
- func (c *FakeBackendConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackendConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackendConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackendConfig, err error)
- func (c *FakeBackendConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackendConfigList, err error)
- func (c *FakeBackendConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BackendConfig, err error)
- func (c *FakeBackendConfigs) Update(ctx context.Context, backendConfig *v1alpha1.BackendConfig, ...) (result *v1alpha1.BackendConfig, err error)
- func (c *FakeBackendConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIngressV1alpha1
- func (c *FakeIngressV1alpha1) BackendConfigs(namespace string) v1alpha1.BackendConfigInterface
- func (c *FakeIngressV1alpha1) RESTClient() rest.Interface
- func (c *FakeIngressV1alpha1) TemplateConfigs(namespace string) v1alpha1.TemplateConfigInterface
- func (c *FakeIngressV1alpha1) VarnishConfigs(namespace string) v1alpha1.VarnishConfigInterface
- type FakeTemplateConfigs
- func (c *FakeTemplateConfigs) Create(ctx context.Context, templateConfig *v1alpha1.TemplateConfig, ...) (result *v1alpha1.TemplateConfig, err error)
- func (c *FakeTemplateConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTemplateConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTemplateConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TemplateConfig, err error)
- func (c *FakeTemplateConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplateConfigList, err error)
- func (c *FakeTemplateConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TemplateConfig, err error)
- func (c *FakeTemplateConfigs) Update(ctx context.Context, templateConfig *v1alpha1.TemplateConfig, ...) (result *v1alpha1.TemplateConfig, err error)
- func (c *FakeTemplateConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVarnishConfigs
- func (c *FakeVarnishConfigs) Create(ctx context.Context, varnishConfig *v1alpha1.VarnishConfig, ...) (result *v1alpha1.VarnishConfig, err error)
- func (c *FakeVarnishConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVarnishConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVarnishConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VarnishConfig, err error)
- func (c *FakeVarnishConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VarnishConfigList, err error)
- func (c *FakeVarnishConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VarnishConfig, err error)
- func (c *FakeVarnishConfigs) Update(ctx context.Context, varnishConfig *v1alpha1.VarnishConfig, ...) (result *v1alpha1.VarnishConfig, err error)
- func (c *FakeVarnishConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackendConfigs ¶
type FakeBackendConfigs struct { Fake *FakeIngressV1alpha1 // contains filtered or unexported fields }
FakeBackendConfigs implements BackendConfigInterface
func (*FakeBackendConfigs) Create ¶
func (c *FakeBackendConfigs) Create(ctx context.Context, backendConfig *v1alpha1.BackendConfig, opts v1.CreateOptions) (result *v1alpha1.BackendConfig, err error)
Create takes the representation of a backendConfig and creates it. Returns the server's representation of the backendConfig, and an error, if there is any.
func (*FakeBackendConfigs) Delete ¶
func (c *FakeBackendConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backendConfig and deletes it. Returns an error if one occurs.
func (*FakeBackendConfigs) DeleteCollection ¶
func (c *FakeBackendConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackendConfigs) Get ¶
func (c *FakeBackendConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackendConfig, err error)
Get takes name of the backendConfig, and returns the corresponding backendConfig object, and an error if there is any.
func (*FakeBackendConfigs) List ¶
func (c *FakeBackendConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackendConfigList, err error)
List takes label and field selectors, and returns the list of BackendConfigs that match those selectors.
func (*FakeBackendConfigs) Patch ¶
func (c *FakeBackendConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BackendConfig, err error)
Patch applies the patch and returns the patched backendConfig.
func (*FakeBackendConfigs) Update ¶
func (c *FakeBackendConfigs) Update(ctx context.Context, backendConfig *v1alpha1.BackendConfig, opts v1.UpdateOptions) (result *v1alpha1.BackendConfig, err error)
Update takes the representation of a backendConfig and updates it. Returns the server's representation of the backendConfig, and an error, if there is any.
func (*FakeBackendConfigs) Watch ¶
func (c *FakeBackendConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backendConfigs.
type FakeIngressV1alpha1 ¶
func (*FakeIngressV1alpha1) BackendConfigs ¶
func (c *FakeIngressV1alpha1) BackendConfigs(namespace string) v1alpha1.BackendConfigInterface
func (*FakeIngressV1alpha1) RESTClient ¶
func (c *FakeIngressV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeIngressV1alpha1) TemplateConfigs ¶
func (c *FakeIngressV1alpha1) TemplateConfigs(namespace string) v1alpha1.TemplateConfigInterface
func (*FakeIngressV1alpha1) VarnishConfigs ¶
func (c *FakeIngressV1alpha1) VarnishConfigs(namespace string) v1alpha1.VarnishConfigInterface
type FakeTemplateConfigs ¶
type FakeTemplateConfigs struct { Fake *FakeIngressV1alpha1 // contains filtered or unexported fields }
FakeTemplateConfigs implements TemplateConfigInterface
func (*FakeTemplateConfigs) Create ¶
func (c *FakeTemplateConfigs) Create(ctx context.Context, templateConfig *v1alpha1.TemplateConfig, opts v1.CreateOptions) (result *v1alpha1.TemplateConfig, err error)
Create takes the representation of a templateConfig and creates it. Returns the server's representation of the templateConfig, and an error, if there is any.
func (*FakeTemplateConfigs) Delete ¶
func (c *FakeTemplateConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the templateConfig and deletes it. Returns an error if one occurs.
func (*FakeTemplateConfigs) DeleteCollection ¶
func (c *FakeTemplateConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplateConfigs) Get ¶
func (c *FakeTemplateConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TemplateConfig, err error)
Get takes name of the templateConfig, and returns the corresponding templateConfig object, and an error if there is any.
func (*FakeTemplateConfigs) List ¶
func (c *FakeTemplateConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplateConfigList, err error)
List takes label and field selectors, and returns the list of TemplateConfigs that match those selectors.
func (*FakeTemplateConfigs) Patch ¶
func (c *FakeTemplateConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TemplateConfig, err error)
Patch applies the patch and returns the patched templateConfig.
func (*FakeTemplateConfigs) Update ¶
func (c *FakeTemplateConfigs) Update(ctx context.Context, templateConfig *v1alpha1.TemplateConfig, opts v1.UpdateOptions) (result *v1alpha1.TemplateConfig, err error)
Update takes the representation of a templateConfig and updates it. Returns the server's representation of the templateConfig, and an error, if there is any.
func (*FakeTemplateConfigs) Watch ¶
func (c *FakeTemplateConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templateConfigs.
type FakeVarnishConfigs ¶
type FakeVarnishConfigs struct { Fake *FakeIngressV1alpha1 // contains filtered or unexported fields }
FakeVarnishConfigs implements VarnishConfigInterface
func (*FakeVarnishConfigs) Create ¶
func (c *FakeVarnishConfigs) Create(ctx context.Context, varnishConfig *v1alpha1.VarnishConfig, opts v1.CreateOptions) (result *v1alpha1.VarnishConfig, err error)
Create takes the representation of a varnishConfig and creates it. Returns the server's representation of the varnishConfig, and an error, if there is any.
func (*FakeVarnishConfigs) Delete ¶
func (c *FakeVarnishConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the varnishConfig and deletes it. Returns an error if one occurs.
func (*FakeVarnishConfigs) DeleteCollection ¶
func (c *FakeVarnishConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVarnishConfigs) Get ¶
func (c *FakeVarnishConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VarnishConfig, err error)
Get takes name of the varnishConfig, and returns the corresponding varnishConfig object, and an error if there is any.
func (*FakeVarnishConfigs) List ¶
func (c *FakeVarnishConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VarnishConfigList, err error)
List takes label and field selectors, and returns the list of VarnishConfigs that match those selectors.
func (*FakeVarnishConfigs) Patch ¶
func (c *FakeVarnishConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VarnishConfig, err error)
Patch applies the patch and returns the patched varnishConfig.
func (*FakeVarnishConfigs) Update ¶
func (c *FakeVarnishConfigs) Update(ctx context.Context, varnishConfig *v1alpha1.VarnishConfig, opts v1.UpdateOptions) (result *v1alpha1.VarnishConfig, err error)
Update takes the representation of a varnishConfig and updates it. Returns the server's representation of the varnishConfig, and an error, if there is any.
func (*FakeVarnishConfigs) Watch ¶
func (c *FakeVarnishConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested varnishConfigs.