fake

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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

Watch returns a watch.Interface that watches the requested ingressMonitors.

type FakeIngressmonitorV1alpha1

type FakeIngressmonitorV1alpha1 struct {
	*testing.Fake
}

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 (*FakeIngressmonitorV1alpha1) Providers

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

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

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

func (c *FakeMonitors) Create(monitor *v1alpha1.Monitor) (result *v1alpha1.Monitor, err error)

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

func (c *FakeMonitors) Update(monitor *v1alpha1.Monitor) (result *v1alpha1.Monitor, err error)

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

func (c *FakeProviders) Create(provider *v1alpha1.Provider) (result *v1alpha1.Provider, err error)

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

func (c *FakeProviders) Update(provider *v1alpha1.Provider) (result *v1alpha1.Provider, err error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL