fake

package
v0.0.0-...-41d4ab8 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 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 FakeAciV1

type FakeAciV1 struct {
	*testing.Fake
}

func (*FakeAciV1) RESTClient

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

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

func (*FakeAciV1) RdConfigs

func (c *FakeAciV1) RdConfigs(namespace string) v1.RdConfigInterface

type FakeRdConfigs

type FakeRdConfigs struct {
	Fake *FakeAciV1
	// contains filtered or unexported fields
}

FakeRdConfigs implements RdConfigInterface

func (*FakeRdConfigs) Create

func (c *FakeRdConfigs) Create(ctx context.Context, rdConfig *acisnatv1.RdConfig, opts v1.CreateOptions) (result *acisnatv1.RdConfig, err error)

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

func (*FakeRdConfigs) Delete

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

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

func (*FakeRdConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRdConfigs) Get

func (c *FakeRdConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *acisnatv1.RdConfig, err error)

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

func (*FakeRdConfigs) List

func (c *FakeRdConfigs) List(ctx context.Context, opts v1.ListOptions) (result *acisnatv1.RdConfigList, err error)

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

func (*FakeRdConfigs) Patch

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

Patch applies the patch and returns the patched rdConfig.

func (*FakeRdConfigs) Update

func (c *FakeRdConfigs) Update(ctx context.Context, rdConfig *acisnatv1.RdConfig, opts v1.UpdateOptions) (result *acisnatv1.RdConfig, err error)

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

func (*FakeRdConfigs) Watch

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

Jump to

Keyboard shortcuts

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