fake

package
v2.0.0-...-29d9702 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 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 FakeIngressRouteTCPs

type FakeIngressRouteTCPs struct {
	Fake *FakeTraefikV1alpha1
	// contains filtered or unexported fields
}

FakeIngressRouteTCPs implements IngressRouteTCPInterface

func (*FakeIngressRouteTCPs) Create

func (c *FakeIngressRouteTCPs) Create(ingressRouteTCP *v1alpha1.IngressRouteTCP) (result *v1alpha1.IngressRouteTCP, err error)

Create takes the representation of a ingressRouteTCP and creates it. Returns the server's representation of the ingressRouteTCP, and an error, if there is any.

func (*FakeIngressRouteTCPs) Delete

func (c *FakeIngressRouteTCPs) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the ingressRouteTCP and deletes it. Returns an error if one occurs.

func (*FakeIngressRouteTCPs) DeleteCollection

func (c *FakeIngressRouteTCPs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIngressRouteTCPs) Get

func (c *FakeIngressRouteTCPs) Get(name string, options v1.GetOptions) (result *v1alpha1.IngressRouteTCP, err error)

Get takes name of the ingressRouteTCP, and returns the corresponding ingressRouteTCP object, and an error if there is any.

func (*FakeIngressRouteTCPs) List

List takes label and field selectors, and returns the list of IngressRouteTCPs that match those selectors.

func (*FakeIngressRouteTCPs) Patch

func (c *FakeIngressRouteTCPs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IngressRouteTCP, err error)

Patch applies the patch and returns the patched ingressRouteTCP.

func (*FakeIngressRouteTCPs) Update

func (c *FakeIngressRouteTCPs) Update(ingressRouteTCP *v1alpha1.IngressRouteTCP) (result *v1alpha1.IngressRouteTCP, err error)

Update takes the representation of a ingressRouteTCP and updates it. Returns the server's representation of the ingressRouteTCP, and an error, if there is any.

func (*FakeIngressRouteTCPs) Watch

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

type FakeIngressRouteUDPs

type FakeIngressRouteUDPs struct {
	Fake *FakeTraefikV1alpha1
	// contains filtered or unexported fields
}

FakeIngressRouteUDPs implements IngressRouteUDPInterface

func (*FakeIngressRouteUDPs) Create

func (c *FakeIngressRouteUDPs) Create(ingressRouteUDP *v1alpha1.IngressRouteUDP) (result *v1alpha1.IngressRouteUDP, err error)

Create takes the representation of a ingressRouteUDP and creates it. Returns the server's representation of the ingressRouteUDP, and an error, if there is any.

func (*FakeIngressRouteUDPs) Delete

func (c *FakeIngressRouteUDPs) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the ingressRouteUDP and deletes it. Returns an error if one occurs.

func (*FakeIngressRouteUDPs) DeleteCollection

func (c *FakeIngressRouteUDPs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIngressRouteUDPs) Get

func (c *FakeIngressRouteUDPs) Get(name string, options v1.GetOptions) (result *v1alpha1.IngressRouteUDP, err error)

Get takes name of the ingressRouteUDP, and returns the corresponding ingressRouteUDP object, and an error if there is any.

func (*FakeIngressRouteUDPs) List

List takes label and field selectors, and returns the list of IngressRouteUDPs that match those selectors.

func (*FakeIngressRouteUDPs) Patch

func (c *FakeIngressRouteUDPs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IngressRouteUDP, err error)

Patch applies the patch and returns the patched ingressRouteUDP.

func (*FakeIngressRouteUDPs) Update

func (c *FakeIngressRouteUDPs) Update(ingressRouteUDP *v1alpha1.IngressRouteUDP) (result *v1alpha1.IngressRouteUDP, err error)

Update takes the representation of a ingressRouteUDP and updates it. Returns the server's representation of the ingressRouteUDP, and an error, if there is any.

func (*FakeIngressRouteUDPs) Watch

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

type FakeIngressRoutes

type FakeIngressRoutes struct {
	Fake *FakeTraefikV1alpha1
	// contains filtered or unexported fields
}

FakeIngressRoutes implements IngressRouteInterface

func (*FakeIngressRoutes) Create

func (c *FakeIngressRoutes) Create(ingressRoute *v1alpha1.IngressRoute) (result *v1alpha1.IngressRoute, err error)

Create takes the representation of a ingressRoute and creates it. Returns the server's representation of the ingressRoute, and an error, if there is any.

func (*FakeIngressRoutes) Delete

func (c *FakeIngressRoutes) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the ingressRoute and deletes it. Returns an error if one occurs.

func (*FakeIngressRoutes) DeleteCollection

func (c *FakeIngressRoutes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIngressRoutes) Get

func (c *FakeIngressRoutes) Get(name string, options v1.GetOptions) (result *v1alpha1.IngressRoute, err error)

Get takes name of the ingressRoute, and returns the corresponding ingressRoute object, and an error if there is any.

func (*FakeIngressRoutes) List

func (c *FakeIngressRoutes) List(opts v1.ListOptions) (result *v1alpha1.IngressRouteList, err error)

List takes label and field selectors, and returns the list of IngressRoutes that match those selectors.

func (*FakeIngressRoutes) Patch

func (c *FakeIngressRoutes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IngressRoute, err error)

Patch applies the patch and returns the patched ingressRoute.

func (*FakeIngressRoutes) Update

func (c *FakeIngressRoutes) Update(ingressRoute *v1alpha1.IngressRoute) (result *v1alpha1.IngressRoute, err error)

Update takes the representation of a ingressRoute and updates it. Returns the server's representation of the ingressRoute, and an error, if there is any.

func (*FakeIngressRoutes) Watch

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

type FakeMiddlewares

type FakeMiddlewares struct {
	Fake *FakeTraefikV1alpha1
	// contains filtered or unexported fields
}

FakeMiddlewares implements MiddlewareInterface

func (*FakeMiddlewares) Create

func (c *FakeMiddlewares) Create(middleware *v1alpha1.Middleware) (result *v1alpha1.Middleware, err error)

Create takes the representation of a middleware and creates it. Returns the server's representation of the middleware, and an error, if there is any.

func (*FakeMiddlewares) Delete

func (c *FakeMiddlewares) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the middleware and deletes it. Returns an error if one occurs.

func (*FakeMiddlewares) DeleteCollection

func (c *FakeMiddlewares) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMiddlewares) Get

func (c *FakeMiddlewares) Get(name string, options v1.GetOptions) (result *v1alpha1.Middleware, err error)

Get takes name of the middleware, and returns the corresponding middleware object, and an error if there is any.

func (*FakeMiddlewares) List

func (c *FakeMiddlewares) List(opts v1.ListOptions) (result *v1alpha1.MiddlewareList, err error)

List takes label and field selectors, and returns the list of Middlewares that match those selectors.

func (*FakeMiddlewares) Patch

func (c *FakeMiddlewares) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Middleware, err error)

Patch applies the patch and returns the patched middleware.

func (*FakeMiddlewares) Update

func (c *FakeMiddlewares) Update(middleware *v1alpha1.Middleware) (result *v1alpha1.Middleware, err error)

Update takes the representation of a middleware and updates it. Returns the server's representation of the middleware, and an error, if there is any.

func (*FakeMiddlewares) Watch

func (c *FakeMiddlewares) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeTLSOptions

type FakeTLSOptions struct {
	Fake *FakeTraefikV1alpha1
	// contains filtered or unexported fields
}

FakeTLSOptions implements TLSOptionInterface

func (*FakeTLSOptions) Create

func (c *FakeTLSOptions) Create(tLSOption *v1alpha1.TLSOption) (result *v1alpha1.TLSOption, err error)

Create takes the representation of a tLSOption and creates it. Returns the server's representation of the tLSOption, and an error, if there is any.

func (*FakeTLSOptions) Delete

func (c *FakeTLSOptions) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the tLSOption and deletes it. Returns an error if one occurs.

func (*FakeTLSOptions) DeleteCollection

func (c *FakeTLSOptions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTLSOptions) Get

func (c *FakeTLSOptions) Get(name string, options v1.GetOptions) (result *v1alpha1.TLSOption, err error)

Get takes name of the tLSOption, and returns the corresponding tLSOption object, and an error if there is any.

func (*FakeTLSOptions) List

func (c *FakeTLSOptions) List(opts v1.ListOptions) (result *v1alpha1.TLSOptionList, err error)

List takes label and field selectors, and returns the list of TLSOptions that match those selectors.

func (*FakeTLSOptions) Patch

func (c *FakeTLSOptions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TLSOption, err error)

Patch applies the patch and returns the patched tLSOption.

func (*FakeTLSOptions) Update

func (c *FakeTLSOptions) Update(tLSOption *v1alpha1.TLSOption) (result *v1alpha1.TLSOption, err error)

Update takes the representation of a tLSOption and updates it. Returns the server's representation of the tLSOption, and an error, if there is any.

func (*FakeTLSOptions) Watch

func (c *FakeTLSOptions) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeTLSStores

type FakeTLSStores struct {
	Fake *FakeTraefikV1alpha1
	// contains filtered or unexported fields
}

FakeTLSStores implements TLSStoreInterface

func (*FakeTLSStores) Create

func (c *FakeTLSStores) Create(tLSStore *v1alpha1.TLSStore) (result *v1alpha1.TLSStore, err error)

Create takes the representation of a tLSStore and creates it. Returns the server's representation of the tLSStore, and an error, if there is any.

func (*FakeTLSStores) Delete

func (c *FakeTLSStores) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the tLSStore and deletes it. Returns an error if one occurs.

func (*FakeTLSStores) DeleteCollection

func (c *FakeTLSStores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTLSStores) Get

func (c *FakeTLSStores) Get(name string, options v1.GetOptions) (result *v1alpha1.TLSStore, err error)

Get takes name of the tLSStore, and returns the corresponding tLSStore object, and an error if there is any.

func (*FakeTLSStores) List

func (c *FakeTLSStores) List(opts v1.ListOptions) (result *v1alpha1.TLSStoreList, err error)

List takes label and field selectors, and returns the list of TLSStores that match those selectors.

func (*FakeTLSStores) Patch

func (c *FakeTLSStores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TLSStore, err error)

Patch applies the patch and returns the patched tLSStore.

func (*FakeTLSStores) Update

func (c *FakeTLSStores) Update(tLSStore *v1alpha1.TLSStore) (result *v1alpha1.TLSStore, err error)

Update takes the representation of a tLSStore and updates it. Returns the server's representation of the tLSStore, and an error, if there is any.

func (*FakeTLSStores) Watch

func (c *FakeTLSStores) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeTraefikServices

type FakeTraefikServices struct {
	Fake *FakeTraefikV1alpha1
	// contains filtered or unexported fields
}

FakeTraefikServices implements TraefikServiceInterface

func (*FakeTraefikServices) Create

func (c *FakeTraefikServices) Create(traefikService *v1alpha1.TraefikService) (result *v1alpha1.TraefikService, err error)

Create takes the representation of a traefikService and creates it. Returns the server's representation of the traefikService, and an error, if there is any.

func (*FakeTraefikServices) Delete

func (c *FakeTraefikServices) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the traefikService and deletes it. Returns an error if one occurs.

func (*FakeTraefikServices) DeleteCollection

func (c *FakeTraefikServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTraefikServices) Get

func (c *FakeTraefikServices) Get(name string, options v1.GetOptions) (result *v1alpha1.TraefikService, err error)

Get takes name of the traefikService, and returns the corresponding traefikService object, and an error if there is any.

func (*FakeTraefikServices) List

func (c *FakeTraefikServices) List(opts v1.ListOptions) (result *v1alpha1.TraefikServiceList, err error)

List takes label and field selectors, and returns the list of TraefikServices that match those selectors.

func (*FakeTraefikServices) Patch

func (c *FakeTraefikServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TraefikService, err error)

Patch applies the patch and returns the patched traefikService.

func (*FakeTraefikServices) Update

func (c *FakeTraefikServices) Update(traefikService *v1alpha1.TraefikService) (result *v1alpha1.TraefikService, err error)

Update takes the representation of a traefikService and updates it. Returns the server's representation of the traefikService, and an error, if there is any.

func (*FakeTraefikServices) Watch

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

type FakeTraefikV1alpha1

type FakeTraefikV1alpha1 struct {
	*testing.Fake
}

func (*FakeTraefikV1alpha1) IngressRouteTCPs

func (c *FakeTraefikV1alpha1) IngressRouteTCPs(namespace string) v1alpha1.IngressRouteTCPInterface

func (*FakeTraefikV1alpha1) IngressRouteUDPs

func (c *FakeTraefikV1alpha1) IngressRouteUDPs(namespace string) v1alpha1.IngressRouteUDPInterface

func (*FakeTraefikV1alpha1) IngressRoutes

func (c *FakeTraefikV1alpha1) IngressRoutes(namespace string) v1alpha1.IngressRouteInterface

func (*FakeTraefikV1alpha1) Middlewares

func (c *FakeTraefikV1alpha1) Middlewares(namespace string) v1alpha1.MiddlewareInterface

func (*FakeTraefikV1alpha1) RESTClient

func (c *FakeTraefikV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeTraefikV1alpha1) TLSOptions

func (c *FakeTraefikV1alpha1) TLSOptions(namespace string) v1alpha1.TLSOptionInterface

func (*FakeTraefikV1alpha1) TLSStores

func (c *FakeTraefikV1alpha1) TLSStores(namespace string) v1alpha1.TLSStoreInterface

func (*FakeTraefikV1alpha1) TraefikServices

func (c *FakeTraefikV1alpha1) TraefikServices(namespace string) v1alpha1.TraefikServiceInterface

Jump to

Keyboard shortcuts

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