fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 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 FakeEdgeContainerClusters

type FakeEdgeContainerClusters struct {
	Fake *FakeEdgecontainerV1beta1
	// contains filtered or unexported fields
}

FakeEdgeContainerClusters implements EdgeContainerClusterInterface

func (*FakeEdgeContainerClusters) Create

func (c *FakeEdgeContainerClusters) Create(ctx context.Context, edgeContainerCluster *v1beta1.EdgeContainerCluster, opts v1.CreateOptions) (result *v1beta1.EdgeContainerCluster, err error)

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

func (*FakeEdgeContainerClusters) Delete

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

func (*FakeEdgeContainerClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEdgeContainerClusters) Get

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

func (*FakeEdgeContainerClusters) List

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

func (*FakeEdgeContainerClusters) Patch

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

Patch applies the patch and returns the patched edgeContainerCluster.

func (*FakeEdgeContainerClusters) Update

func (c *FakeEdgeContainerClusters) Update(ctx context.Context, edgeContainerCluster *v1beta1.EdgeContainerCluster, opts v1.UpdateOptions) (result *v1beta1.EdgeContainerCluster, err error)

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

func (*FakeEdgeContainerClusters) UpdateStatus

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

func (*FakeEdgeContainerClusters) Watch

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

type FakeEdgeContainerNodePools

type FakeEdgeContainerNodePools struct {
	Fake *FakeEdgecontainerV1beta1
	// contains filtered or unexported fields
}

FakeEdgeContainerNodePools implements EdgeContainerNodePoolInterface

func (*FakeEdgeContainerNodePools) Create

func (c *FakeEdgeContainerNodePools) Create(ctx context.Context, edgeContainerNodePool *v1beta1.EdgeContainerNodePool, opts v1.CreateOptions) (result *v1beta1.EdgeContainerNodePool, err error)

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

func (*FakeEdgeContainerNodePools) Delete

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

func (*FakeEdgeContainerNodePools) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEdgeContainerNodePools) Get

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

func (*FakeEdgeContainerNodePools) List

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

func (*FakeEdgeContainerNodePools) Patch

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

Patch applies the patch and returns the patched edgeContainerNodePool.

func (*FakeEdgeContainerNodePools) Update

func (c *FakeEdgeContainerNodePools) Update(ctx context.Context, edgeContainerNodePool *v1beta1.EdgeContainerNodePool, opts v1.UpdateOptions) (result *v1beta1.EdgeContainerNodePool, err error)

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

func (*FakeEdgeContainerNodePools) UpdateStatus

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

func (*FakeEdgeContainerNodePools) Watch

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

type FakeEdgeContainerVpnConnections

type FakeEdgeContainerVpnConnections struct {
	Fake *FakeEdgecontainerV1beta1
	// contains filtered or unexported fields
}

FakeEdgeContainerVpnConnections implements EdgeContainerVpnConnectionInterface

func (*FakeEdgeContainerVpnConnections) Create

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

func (*FakeEdgeContainerVpnConnections) Delete

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

func (*FakeEdgeContainerVpnConnections) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEdgeContainerVpnConnections) Get

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

func (*FakeEdgeContainerVpnConnections) List

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

func (*FakeEdgeContainerVpnConnections) Patch

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

Patch applies the patch and returns the patched edgeContainerVpnConnection.

func (*FakeEdgeContainerVpnConnections) Update

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

func (*FakeEdgeContainerVpnConnections) UpdateStatus

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

func (*FakeEdgeContainerVpnConnections) Watch

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

type FakeEdgecontainerV1beta1

type FakeEdgecontainerV1beta1 struct {
	*testing.Fake
}

func (*FakeEdgecontainerV1beta1) EdgeContainerClusters

func (c *FakeEdgecontainerV1beta1) EdgeContainerClusters(namespace string) v1beta1.EdgeContainerClusterInterface

func (*FakeEdgecontainerV1beta1) EdgeContainerNodePools

func (c *FakeEdgecontainerV1beta1) EdgeContainerNodePools(namespace string) v1beta1.EdgeContainerNodePoolInterface

func (*FakeEdgecontainerV1beta1) EdgeContainerVpnConnections

func (c *FakeEdgecontainerV1beta1) EdgeContainerVpnConnections(namespace string) v1beta1.EdgeContainerVpnConnectionInterface

func (*FakeEdgecontainerV1beta1) RESTClient

func (c *FakeEdgecontainerV1beta1) 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