fake

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 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 FakePrivateCACAPools added in v1.69.0

type FakePrivateCACAPools struct {
	Fake *FakePrivatecaV1beta1
	// contains filtered or unexported fields
}

FakePrivateCACAPools implements PrivateCACAPoolInterface

func (*FakePrivateCACAPools) Create added in v1.69.0

func (c *FakePrivateCACAPools) Create(ctx context.Context, privateCACAPool *v1beta1.PrivateCACAPool, opts v1.CreateOptions) (result *v1beta1.PrivateCACAPool, err error)

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

func (*FakePrivateCACAPools) Delete added in v1.69.0

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

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

func (*FakePrivateCACAPools) DeleteCollection added in v1.69.0

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

DeleteCollection deletes a collection of objects.

func (*FakePrivateCACAPools) Get added in v1.69.0

func (c *FakePrivateCACAPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PrivateCACAPool, err error)

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

func (*FakePrivateCACAPools) List added in v1.69.0

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

func (*FakePrivateCACAPools) Patch added in v1.69.0

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

Patch applies the patch and returns the patched privateCACAPool.

func (*FakePrivateCACAPools) Update added in v1.69.0

func (c *FakePrivateCACAPools) Update(ctx context.Context, privateCACAPool *v1beta1.PrivateCACAPool, opts v1.UpdateOptions) (result *v1beta1.PrivateCACAPool, err error)

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

func (*FakePrivateCACAPools) UpdateStatus added in v1.69.0

func (c *FakePrivateCACAPools) UpdateStatus(ctx context.Context, privateCACAPool *v1beta1.PrivateCACAPool, opts v1.UpdateOptions) (*v1beta1.PrivateCACAPool, error)

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

func (*FakePrivateCACAPools) Watch added in v1.69.0

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

type FakePrivateCACertificateTemplates

type FakePrivateCACertificateTemplates struct {
	Fake *FakePrivatecaV1beta1
	// contains filtered or unexported fields
}

FakePrivateCACertificateTemplates implements PrivateCACertificateTemplateInterface

func (*FakePrivateCACertificateTemplates) Create

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

func (*FakePrivateCACertificateTemplates) Delete

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

func (*FakePrivateCACertificateTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePrivateCACertificateTemplates) Get

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

func (*FakePrivateCACertificateTemplates) List

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

func (*FakePrivateCACertificateTemplates) Patch

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

Patch applies the patch and returns the patched privateCACertificateTemplate.

func (*FakePrivateCACertificateTemplates) Update

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

func (*FakePrivateCACertificateTemplates) UpdateStatus

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

func (*FakePrivateCACertificateTemplates) Watch

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

type FakePrivatecaV1beta1

type FakePrivatecaV1beta1 struct {
	*testing.Fake
}

func (*FakePrivatecaV1beta1) PrivateCACAPools added in v1.69.0

func (c *FakePrivatecaV1beta1) PrivateCACAPools(namespace string) v1beta1.PrivateCACAPoolInterface

func (*FakePrivatecaV1beta1) PrivateCACertificateTemplates

func (c *FakePrivatecaV1beta1) PrivateCACertificateTemplates(namespace string) v1beta1.PrivateCACertificateTemplateInterface

func (*FakePrivatecaV1beta1) RESTClient

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