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 FakeAciIstioOperators

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

FakeAciIstioOperators implements AciIstioOperatorInterface

func (*FakeAciIstioOperators) Create

func (c *FakeAciIstioOperators) Create(ctx context.Context, aciIstioOperator *aciistiov1.AciIstioOperator, opts v1.CreateOptions) (result *aciistiov1.AciIstioOperator, err error)

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

func (*FakeAciIstioOperators) Delete

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

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

func (*FakeAciIstioOperators) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAciIstioOperators) Get

func (c *FakeAciIstioOperators) Get(ctx context.Context, name string, options v1.GetOptions) (result *aciistiov1.AciIstioOperator, err error)

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

func (*FakeAciIstioOperators) List

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

func (*FakeAciIstioOperators) Patch

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

Patch applies the patch and returns the patched aciIstioOperator.

func (*FakeAciIstioOperators) Update

func (c *FakeAciIstioOperators) Update(ctx context.Context, aciIstioOperator *aciistiov1.AciIstioOperator, opts v1.UpdateOptions) (result *aciistiov1.AciIstioOperator, err error)

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

func (*FakeAciIstioOperators) UpdateStatus

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

func (*FakeAciIstioOperators) Watch

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

type FakeAciV1

type FakeAciV1 struct {
	*testing.Fake
}

func (*FakeAciV1) AciIstioOperators

func (c *FakeAciV1) AciIstioOperators(namespace string) v1.AciIstioOperatorInterface

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.

Jump to

Keyboard shortcuts

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