fake

package
v0.0.0-...-88ad6e2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 10 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 FakeApintoAuths

type FakeApintoAuths struct {
	Fake *FakeApintoV1
	// contains filtered or unexported fields
}

FakeApintoAuths implements ApintoAuthInterface

func (*FakeApintoAuths) Create

func (c *FakeApintoAuths) Create(ctx context.Context, apintoAuth *apintov1.ApintoAuth, opts v1.CreateOptions) (result *apintov1.ApintoAuth, err error)

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

func (*FakeApintoAuths) Delete

func (c *FakeApintoAuths) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeApintoAuths) DeleteCollection

func (c *FakeApintoAuths) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApintoAuths) Get

func (c *FakeApintoAuths) Get(ctx context.Context, name string, options v1.GetOptions) (result *apintov1.ApintoAuth, err error)

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

func (*FakeApintoAuths) List

func (c *FakeApintoAuths) List(ctx context.Context, opts v1.ListOptions) (result *apintov1.ApintoAuthList, err error)

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

func (*FakeApintoAuths) Patch

func (c *FakeApintoAuths) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *apintov1.ApintoAuth, err error)

Patch applies the patch and returns the patched apintoAuth.

func (*FakeApintoAuths) Update

func (c *FakeApintoAuths) Update(ctx context.Context, apintoAuth *apintov1.ApintoAuth, opts v1.UpdateOptions) (result *apintov1.ApintoAuth, err error)

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

func (*FakeApintoAuths) Watch

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

type FakeApintoDiscoveries

type FakeApintoDiscoveries struct {
	Fake *FakeApintoV1
	// contains filtered or unexported fields
}

FakeApintoDiscoveries implements ApintoDiscoveryInterface

func (*FakeApintoDiscoveries) Create

func (c *FakeApintoDiscoveries) Create(ctx context.Context, apintoDiscovery *apintov1.ApintoDiscovery, opts v1.CreateOptions) (result *apintov1.ApintoDiscovery, err error)

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

func (*FakeApintoDiscoveries) Delete

func (c *FakeApintoDiscoveries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeApintoDiscoveries) DeleteCollection

func (c *FakeApintoDiscoveries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApintoDiscoveries) Get

func (c *FakeApintoDiscoveries) Get(ctx context.Context, name string, options v1.GetOptions) (result *apintov1.ApintoDiscovery, err error)

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

func (*FakeApintoDiscoveries) List

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

func (*FakeApintoDiscoveries) Patch

func (c *FakeApintoDiscoveries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *apintov1.ApintoDiscovery, err error)

Patch applies the patch and returns the patched apintoDiscovery.

func (*FakeApintoDiscoveries) Update

func (c *FakeApintoDiscoveries) Update(ctx context.Context, apintoDiscovery *apintov1.ApintoDiscovery, opts v1.UpdateOptions) (result *apintov1.ApintoDiscovery, err error)

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

func (*FakeApintoDiscoveries) Watch

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

type FakeApintoGlobalSettings

type FakeApintoGlobalSettings struct {
	Fake *FakeApintoV1
	// contains filtered or unexported fields
}

FakeApintoGlobalSettings implements ApintoGlobalSettingInterface

func (*FakeApintoGlobalSettings) Create

func (c *FakeApintoGlobalSettings) Create(ctx context.Context, apintoGlobalSetting *apintov1.ApintoGlobalSetting, opts v1.CreateOptions) (result *apintov1.ApintoGlobalSetting, err error)

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

func (*FakeApintoGlobalSettings) Delete

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

func (*FakeApintoGlobalSettings) DeleteCollection

func (c *FakeApintoGlobalSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApintoGlobalSettings) Get

func (c *FakeApintoGlobalSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *apintov1.ApintoGlobalSetting, err error)

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

func (*FakeApintoGlobalSettings) List

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

func (*FakeApintoGlobalSettings) Patch

func (c *FakeApintoGlobalSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *apintov1.ApintoGlobalSetting, err error)

Patch applies the patch and returns the patched apintoGlobalSetting.

func (*FakeApintoGlobalSettings) Update

func (c *FakeApintoGlobalSettings) Update(ctx context.Context, apintoGlobalSetting *apintov1.ApintoGlobalSetting, opts v1.UpdateOptions) (result *apintov1.ApintoGlobalSetting, err error)

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

func (*FakeApintoGlobalSettings) Watch

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

type FakeApintoOutputs

type FakeApintoOutputs struct {
	Fake *FakeApintoV1
	// contains filtered or unexported fields
}

FakeApintoOutputs implements ApintoOutputInterface

func (*FakeApintoOutputs) Create

func (c *FakeApintoOutputs) Create(ctx context.Context, apintoOutput *apintov1.ApintoOutput, opts v1.CreateOptions) (result *apintov1.ApintoOutput, err error)

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

func (*FakeApintoOutputs) Delete

func (c *FakeApintoOutputs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeApintoOutputs) DeleteCollection

func (c *FakeApintoOutputs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApintoOutputs) Get

func (c *FakeApintoOutputs) Get(ctx context.Context, name string, options v1.GetOptions) (result *apintov1.ApintoOutput, err error)

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

func (*FakeApintoOutputs) List

func (c *FakeApintoOutputs) List(ctx context.Context, opts v1.ListOptions) (result *apintov1.ApintoOutputList, err error)

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

func (*FakeApintoOutputs) Patch

func (c *FakeApintoOutputs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *apintov1.ApintoOutput, err error)

Patch applies the patch and returns the patched apintoOutput.

func (*FakeApintoOutputs) Update

func (c *FakeApintoOutputs) Update(ctx context.Context, apintoOutput *apintov1.ApintoOutput, opts v1.UpdateOptions) (result *apintov1.ApintoOutput, err error)

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

func (*FakeApintoOutputs) Watch

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

type FakeApintoRouters

type FakeApintoRouters struct {
	Fake *FakeApintoV1
	// contains filtered or unexported fields
}

FakeApintoRouters implements ApintoRouterInterface

func (*FakeApintoRouters) Create

func (c *FakeApintoRouters) Create(ctx context.Context, apintoRouter *apintov1.ApintoRouter, opts v1.CreateOptions) (result *apintov1.ApintoRouter, err error)

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

func (*FakeApintoRouters) Delete

func (c *FakeApintoRouters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeApintoRouters) DeleteCollection

func (c *FakeApintoRouters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApintoRouters) Get

func (c *FakeApintoRouters) Get(ctx context.Context, name string, options v1.GetOptions) (result *apintov1.ApintoRouter, err error)

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

func (*FakeApintoRouters) List

func (c *FakeApintoRouters) List(ctx context.Context, opts v1.ListOptions) (result *apintov1.ApintoRouterList, err error)

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

func (*FakeApintoRouters) Patch

func (c *FakeApintoRouters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *apintov1.ApintoRouter, err error)

Patch applies the patch and returns the patched apintoRouter.

func (*FakeApintoRouters) Update

func (c *FakeApintoRouters) Update(ctx context.Context, apintoRouter *apintov1.ApintoRouter, opts v1.UpdateOptions) (result *apintov1.ApintoRouter, err error)

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

func (*FakeApintoRouters) Watch

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

type FakeApintoServices

type FakeApintoServices struct {
	Fake *FakeApintoV1
	// contains filtered or unexported fields
}

FakeApintoServices implements ApintoServiceInterface

func (*FakeApintoServices) Create

func (c *FakeApintoServices) Create(ctx context.Context, apintoService *apintov1.ApintoService, opts v1.CreateOptions) (result *apintov1.ApintoService, err error)

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

func (*FakeApintoServices) Delete

func (c *FakeApintoServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeApintoServices) DeleteCollection

func (c *FakeApintoServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApintoServices) Get

func (c *FakeApintoServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *apintov1.ApintoService, err error)

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

func (*FakeApintoServices) List

func (c *FakeApintoServices) List(ctx context.Context, opts v1.ListOptions) (result *apintov1.ApintoServiceList, err error)

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

func (*FakeApintoServices) Patch

func (c *FakeApintoServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *apintov1.ApintoService, err error)

Patch applies the patch and returns the patched apintoService.

func (*FakeApintoServices) Update

func (c *FakeApintoServices) Update(ctx context.Context, apintoService *apintov1.ApintoService, opts v1.UpdateOptions) (result *apintov1.ApintoService, err error)

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

func (*FakeApintoServices) Watch

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

type FakeApintoUpstreams

type FakeApintoUpstreams struct {
	Fake *FakeApintoV1
	// contains filtered or unexported fields
}

FakeApintoUpstreams implements ApintoUpstreamInterface

func (*FakeApintoUpstreams) Create

func (c *FakeApintoUpstreams) Create(ctx context.Context, apintoUpstream *apintov1.ApintoUpstream, opts v1.CreateOptions) (result *apintov1.ApintoUpstream, err error)

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

func (*FakeApintoUpstreams) Delete

func (c *FakeApintoUpstreams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeApintoUpstreams) DeleteCollection

func (c *FakeApintoUpstreams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApintoUpstreams) Get

func (c *FakeApintoUpstreams) Get(ctx context.Context, name string, options v1.GetOptions) (result *apintov1.ApintoUpstream, err error)

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

func (*FakeApintoUpstreams) List

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

func (*FakeApintoUpstreams) Patch

func (c *FakeApintoUpstreams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *apintov1.ApintoUpstream, err error)

Patch applies the patch and returns the patched apintoUpstream.

func (*FakeApintoUpstreams) Update

func (c *FakeApintoUpstreams) Update(ctx context.Context, apintoUpstream *apintov1.ApintoUpstream, opts v1.UpdateOptions) (result *apintov1.ApintoUpstream, err error)

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

func (*FakeApintoUpstreams) Watch

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

type FakeApintoV1

type FakeApintoV1 struct {
	*testing.Fake
}

func (*FakeApintoV1) ApintoAuths

func (c *FakeApintoV1) ApintoAuths(namespace string) v1.ApintoAuthInterface

func (*FakeApintoV1) ApintoDiscoveries

func (c *FakeApintoV1) ApintoDiscoveries(namespace string) v1.ApintoDiscoveryInterface

func (*FakeApintoV1) ApintoGlobalSettings

func (c *FakeApintoV1) ApintoGlobalSettings(namespace string) v1.ApintoGlobalSettingInterface

func (*FakeApintoV1) ApintoOutputs

func (c *FakeApintoV1) ApintoOutputs(namespace string) v1.ApintoOutputInterface

func (*FakeApintoV1) ApintoRouters

func (c *FakeApintoV1) ApintoRouters(namespace string) v1.ApintoRouterInterface

func (*FakeApintoV1) ApintoServices

func (c *FakeApintoV1) ApintoServices(namespace string) v1.ApintoServiceInterface

func (*FakeApintoV1) ApintoUpstreams

func (c *FakeApintoV1) ApintoUpstreams(namespace string) v1.ApintoUpstreamInterface

func (*FakeApintoV1) RESTClient

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

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

Jump to

Keyboard shortcuts

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