Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeIngressMonitors
- func (c *FakeIngressMonitors) Create(ingressMonitor *v1alpha1.IngressMonitor) (result *v1alpha1.IngressMonitor, err error)
- func (c *FakeIngressMonitors) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeIngressMonitors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeIngressMonitors) Get(name string, options v1.GetOptions) (result *v1alpha1.IngressMonitor, err error)
- func (c *FakeIngressMonitors) List(opts v1.ListOptions) (result *v1alpha1.IngressMonitorList, err error)
- func (c *FakeIngressMonitors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IngressMonitor, err error)
- func (c *FakeIngressMonitors) Update(ingressMonitor *v1alpha1.IngressMonitor) (result *v1alpha1.IngressMonitor, err error)
- func (c *FakeIngressMonitors) UpdateStatus(ingressMonitor *v1alpha1.IngressMonitor) (*v1alpha1.IngressMonitor, error)
- func (c *FakeIngressMonitors) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeIngressmonitorV1alpha1
- func (c *FakeIngressmonitorV1alpha1) IngressMonitors(namespace string) v1alpha1.IngressMonitorInterface
- func (c *FakeIngressmonitorV1alpha1) MonitorTemplates(namespace string) v1alpha1.MonitorTemplateInterface
- func (c *FakeIngressmonitorV1alpha1) Monitors(namespace string) v1alpha1.MonitorInterface
- func (c *FakeIngressmonitorV1alpha1) Providers(namespace string) v1alpha1.ProviderInterface
- func (c *FakeIngressmonitorV1alpha1) RESTClient() rest.Interface
- type FakeMonitorTemplates
- func (c *FakeMonitorTemplates) Create(monitorTemplate *v1alpha1.MonitorTemplate) (result *v1alpha1.MonitorTemplate, err error)
- func (c *FakeMonitorTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMonitorTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMonitorTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.MonitorTemplate, err error)
- func (c *FakeMonitorTemplates) List(opts v1.ListOptions) (result *v1alpha1.MonitorTemplateList, err error)
- func (c *FakeMonitorTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MonitorTemplate, err error)
- func (c *FakeMonitorTemplates) Update(monitorTemplate *v1alpha1.MonitorTemplate) (result *v1alpha1.MonitorTemplate, err error)
- func (c *FakeMonitorTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitors
- func (c *FakeMonitors) Create(monitor *v1alpha1.Monitor) (result *v1alpha1.Monitor, err error)
- func (c *FakeMonitors) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMonitors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMonitors) Get(name string, options v1.GetOptions) (result *v1alpha1.Monitor, err error)
- func (c *FakeMonitors) List(opts v1.ListOptions) (result *v1alpha1.MonitorList, err error)
- func (c *FakeMonitors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Monitor, err error)
- func (c *FakeMonitors) Update(monitor *v1alpha1.Monitor) (result *v1alpha1.Monitor, err error)
- func (c *FakeMonitors) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeProviders
- func (c *FakeProviders) Create(provider *v1alpha1.Provider) (result *v1alpha1.Provider, err error)
- func (c *FakeProviders) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeProviders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeProviders) Get(name string, options v1.GetOptions) (result *v1alpha1.Provider, err error)
- func (c *FakeProviders) List(opts v1.ListOptions) (result *v1alpha1.ProviderList, err error)
- func (c *FakeProviders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Provider, err error)
- func (c *FakeProviders) Update(provider *v1alpha1.Provider) (result *v1alpha1.Provider, err error)
- func (c *FakeProviders) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIngressMonitors ¶
type FakeIngressMonitors struct { Fake *FakeIngressmonitorV1alpha1 // contains filtered or unexported fields }
FakeIngressMonitors implements IngressMonitorInterface
func (*FakeIngressMonitors) Create ¶
func (c *FakeIngressMonitors) Create(ingressMonitor *v1alpha1.IngressMonitor) (result *v1alpha1.IngressMonitor, err error)
Create takes the representation of a ingressMonitor and creates it. Returns the server's representation of the ingressMonitor, and an error, if there is any.
func (*FakeIngressMonitors) Delete ¶
func (c *FakeIngressMonitors) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the ingressMonitor and deletes it. Returns an error if one occurs.
func (*FakeIngressMonitors) DeleteCollection ¶
func (c *FakeIngressMonitors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIngressMonitors) Get ¶
func (c *FakeIngressMonitors) Get(name string, options v1.GetOptions) (result *v1alpha1.IngressMonitor, err error)
Get takes name of the ingressMonitor, and returns the corresponding ingressMonitor object, and an error if there is any.
func (*FakeIngressMonitors) List ¶
func (c *FakeIngressMonitors) List(opts v1.ListOptions) (result *v1alpha1.IngressMonitorList, err error)
List takes label and field selectors, and returns the list of IngressMonitors that match those selectors.
func (*FakeIngressMonitors) Patch ¶
func (c *FakeIngressMonitors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IngressMonitor, err error)
Patch applies the patch and returns the patched ingressMonitor.
func (*FakeIngressMonitors) Update ¶
func (c *FakeIngressMonitors) Update(ingressMonitor *v1alpha1.IngressMonitor) (result *v1alpha1.IngressMonitor, err error)
Update takes the representation of a ingressMonitor and updates it. Returns the server's representation of the ingressMonitor, and an error, if there is any.
func (*FakeIngressMonitors) UpdateStatus ¶
func (c *FakeIngressMonitors) UpdateStatus(ingressMonitor *v1alpha1.IngressMonitor) (*v1alpha1.IngressMonitor, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIngressMonitors) Watch ¶
func (c *FakeIngressMonitors) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ingressMonitors.
type FakeIngressmonitorV1alpha1 ¶
func (*FakeIngressmonitorV1alpha1) IngressMonitors ¶
func (c *FakeIngressmonitorV1alpha1) IngressMonitors(namespace string) v1alpha1.IngressMonitorInterface
func (*FakeIngressmonitorV1alpha1) MonitorTemplates ¶
func (c *FakeIngressmonitorV1alpha1) MonitorTemplates(namespace string) v1alpha1.MonitorTemplateInterface
func (*FakeIngressmonitorV1alpha1) Monitors ¶
func (c *FakeIngressmonitorV1alpha1) Monitors(namespace string) v1alpha1.MonitorInterface
func (*FakeIngressmonitorV1alpha1) Providers ¶
func (c *FakeIngressmonitorV1alpha1) Providers(namespace string) v1alpha1.ProviderInterface
func (*FakeIngressmonitorV1alpha1) RESTClient ¶
func (c *FakeIngressmonitorV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeMonitorTemplates ¶
type FakeMonitorTemplates struct { Fake *FakeIngressmonitorV1alpha1 // contains filtered or unexported fields }
FakeMonitorTemplates implements MonitorTemplateInterface
func (*FakeMonitorTemplates) Create ¶
func (c *FakeMonitorTemplates) Create(monitorTemplate *v1alpha1.MonitorTemplate) (result *v1alpha1.MonitorTemplate, err error)
Create takes the representation of a monitorTemplate and creates it. Returns the server's representation of the monitorTemplate, and an error, if there is any.
func (*FakeMonitorTemplates) Delete ¶
func (c *FakeMonitorTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the monitorTemplate and deletes it. Returns an error if one occurs.
func (*FakeMonitorTemplates) DeleteCollection ¶
func (c *FakeMonitorTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitorTemplates) Get ¶
func (c *FakeMonitorTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.MonitorTemplate, err error)
Get takes name of the monitorTemplate, and returns the corresponding monitorTemplate object, and an error if there is any.
func (*FakeMonitorTemplates) List ¶
func (c *FakeMonitorTemplates) List(opts v1.ListOptions) (result *v1alpha1.MonitorTemplateList, err error)
List takes label and field selectors, and returns the list of MonitorTemplates that match those selectors.
func (*FakeMonitorTemplates) Patch ¶
func (c *FakeMonitorTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MonitorTemplate, err error)
Patch applies the patch and returns the patched monitorTemplate.
func (*FakeMonitorTemplates) Update ¶
func (c *FakeMonitorTemplates) Update(monitorTemplate *v1alpha1.MonitorTemplate) (result *v1alpha1.MonitorTemplate, err error)
Update takes the representation of a monitorTemplate and updates it. Returns the server's representation of the monitorTemplate, and an error, if there is any.
func (*FakeMonitorTemplates) Watch ¶
func (c *FakeMonitorTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitorTemplates.
type FakeMonitors ¶
type FakeMonitors struct { Fake *FakeIngressmonitorV1alpha1 // contains filtered or unexported fields }
FakeMonitors implements MonitorInterface
func (*FakeMonitors) Create ¶
Create takes the representation of a monitor and creates it. Returns the server's representation of the monitor, and an error, if there is any.
func (*FakeMonitors) Delete ¶
func (c *FakeMonitors) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the monitor and deletes it. Returns an error if one occurs.
func (*FakeMonitors) DeleteCollection ¶
func (c *FakeMonitors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitors) Get ¶
func (c *FakeMonitors) Get(name string, options v1.GetOptions) (result *v1alpha1.Monitor, err error)
Get takes name of the monitor, and returns the corresponding monitor object, and an error if there is any.
func (*FakeMonitors) List ¶
func (c *FakeMonitors) List(opts v1.ListOptions) (result *v1alpha1.MonitorList, err error)
List takes label and field selectors, and returns the list of Monitors that match those selectors.
func (*FakeMonitors) Patch ¶
func (c *FakeMonitors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Monitor, err error)
Patch applies the patch and returns the patched monitor.
func (*FakeMonitors) Update ¶
Update takes the representation of a monitor and updates it. Returns the server's representation of the monitor, and an error, if there is any.
func (*FakeMonitors) Watch ¶
func (c *FakeMonitors) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitors.
type FakeProviders ¶
type FakeProviders struct { Fake *FakeIngressmonitorV1alpha1 // contains filtered or unexported fields }
FakeProviders implements ProviderInterface
func (*FakeProviders) Create ¶
Create takes the representation of a provider and creates it. Returns the server's representation of the provider, and an error, if there is any.
func (*FakeProviders) Delete ¶
func (c *FakeProviders) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the provider and deletes it. Returns an error if one occurs.
func (*FakeProviders) DeleteCollection ¶
func (c *FakeProviders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProviders) Get ¶
func (c *FakeProviders) Get(name string, options v1.GetOptions) (result *v1alpha1.Provider, err error)
Get takes name of the provider, and returns the corresponding provider object, and an error if there is any.
func (*FakeProviders) List ¶
func (c *FakeProviders) List(opts v1.ListOptions) (result *v1alpha1.ProviderList, err error)
List takes label and field selectors, and returns the list of Providers that match those selectors.
func (*FakeProviders) Patch ¶
func (c *FakeProviders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Provider, err error)
Patch applies the patch and returns the patched provider.
func (*FakeProviders) Update ¶
Update takes the representation of a provider and updates it. Returns the server's representation of the provider, and an error, if there is any.
func (*FakeProviders) Watch ¶
func (c *FakeProviders) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested providers.