fake

package
v1.12.5 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 10 Imported by: 4

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 FakeGlobalConfigurations added in v1.7.0

type FakeGlobalConfigurations struct {
	Fake *FakeK8sV1alpha1
	// contains filtered or unexported fields
}

FakeGlobalConfigurations implements GlobalConfigurationInterface

func (*FakeGlobalConfigurations) Create added in v1.7.0

func (c *FakeGlobalConfigurations) Create(ctx context.Context, globalConfiguration *v1alpha1.GlobalConfiguration, opts v1.CreateOptions) (result *v1alpha1.GlobalConfiguration, err error)

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

func (*FakeGlobalConfigurations) Delete added in v1.7.0

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

func (*FakeGlobalConfigurations) DeleteCollection added in v1.7.0

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

DeleteCollection deletes a collection of objects.

func (*FakeGlobalConfigurations) Get added in v1.7.0

func (c *FakeGlobalConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GlobalConfiguration, err error)

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

func (*FakeGlobalConfigurations) List added in v1.7.0

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

func (*FakeGlobalConfigurations) Patch added in v1.7.0

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

Patch applies the patch and returns the patched globalConfiguration.

func (*FakeGlobalConfigurations) Update added in v1.7.0

func (c *FakeGlobalConfigurations) Update(ctx context.Context, globalConfiguration *v1alpha1.GlobalConfiguration, opts v1.UpdateOptions) (result *v1alpha1.GlobalConfiguration, err error)

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

func (*FakeGlobalConfigurations) Watch added in v1.7.0

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

type FakeK8sV1alpha1

type FakeK8sV1alpha1 struct {
	*testing.Fake
}

func (*FakeK8sV1alpha1) GlobalConfigurations added in v1.7.0

func (c *FakeK8sV1alpha1) GlobalConfigurations(namespace string) v1alpha1.GlobalConfigurationInterface

func (*FakeK8sV1alpha1) RESTClient

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

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

func (*FakeK8sV1alpha1) TransportServers added in v1.7.0

func (c *FakeK8sV1alpha1) TransportServers(namespace string) v1alpha1.TransportServerInterface

type FakeTransportServers added in v1.7.0

type FakeTransportServers struct {
	Fake *FakeK8sV1alpha1
	// contains filtered or unexported fields
}

FakeTransportServers implements TransportServerInterface

func (*FakeTransportServers) Create added in v1.7.0

func (c *FakeTransportServers) Create(ctx context.Context, transportServer *v1alpha1.TransportServer, opts v1.CreateOptions) (result *v1alpha1.TransportServer, err error)

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

func (*FakeTransportServers) Delete added in v1.7.0

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

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

func (*FakeTransportServers) DeleteCollection added in v1.7.0

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

DeleteCollection deletes a collection of objects.

func (*FakeTransportServers) Get added in v1.7.0

func (c *FakeTransportServers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TransportServer, err error)

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

func (*FakeTransportServers) List added in v1.7.0

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

func (*FakeTransportServers) Patch added in v1.7.0

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

Patch applies the patch and returns the patched transportServer.

func (*FakeTransportServers) Update added in v1.7.0

func (c *FakeTransportServers) Update(ctx context.Context, transportServer *v1alpha1.TransportServer, opts v1.UpdateOptions) (result *v1alpha1.TransportServer, err error)

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

func (*FakeTransportServers) UpdateStatus added in v1.11.0

func (c *FakeTransportServers) UpdateStatus(ctx context.Context, transportServer *v1alpha1.TransportServer, opts v1.UpdateOptions) (*v1alpha1.TransportServer, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTransportServers) Watch added in v1.7.0

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

Jump to

Keyboard shortcuts

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