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 FakePrivateCACAPools

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

FakePrivateCACAPools implements PrivateCACAPoolInterface

func (*FakePrivateCACAPools) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakePrivateCACAPools) Get

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

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

func (*FakePrivateCACAPools) Patch

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

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

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

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

type FakePrivateCACertificateAuthorities added in v1.74.0

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

FakePrivateCACertificateAuthorities implements PrivateCACertificateAuthorityInterface

func (*FakePrivateCACertificateAuthorities) Create added in v1.74.0

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

func (*FakePrivateCACertificateAuthorities) Delete added in v1.74.0

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

func (*FakePrivateCACertificateAuthorities) DeleteCollection added in v1.74.0

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

DeleteCollection deletes a collection of objects.

func (*FakePrivateCACertificateAuthorities) Get added in v1.74.0

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

func (*FakePrivateCACertificateAuthorities) List added in v1.74.0

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

func (*FakePrivateCACertificateAuthorities) Patch added in v1.74.0

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

Patch applies the patch and returns the patched privateCACertificateAuthority.

func (*FakePrivateCACertificateAuthorities) Update added in v1.74.0

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

func (*FakePrivateCACertificateAuthorities) UpdateStatus added in v1.74.0

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

func (*FakePrivateCACertificateAuthorities) Watch added in v1.74.0

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

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 FakePrivateCACertificates added in v1.85.0

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

FakePrivateCACertificates implements PrivateCACertificateInterface

func (*FakePrivateCACertificates) Create added in v1.85.0

func (c *FakePrivateCACertificates) Create(ctx context.Context, privateCACertificate *v1beta1.PrivateCACertificate, opts v1.CreateOptions) (result *v1beta1.PrivateCACertificate, err error)

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

func (*FakePrivateCACertificates) Delete added in v1.85.0

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

func (*FakePrivateCACertificates) DeleteCollection added in v1.85.0

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

DeleteCollection deletes a collection of objects.

func (*FakePrivateCACertificates) Get added in v1.85.0

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

func (*FakePrivateCACertificates) List added in v1.85.0

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

func (*FakePrivateCACertificates) Patch added in v1.85.0

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

Patch applies the patch and returns the patched privateCACertificate.

func (*FakePrivateCACertificates) Update added in v1.85.0

func (c *FakePrivateCACertificates) Update(ctx context.Context, privateCACertificate *v1beta1.PrivateCACertificate, opts v1.UpdateOptions) (result *v1beta1.PrivateCACertificate, err error)

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

func (*FakePrivateCACertificates) UpdateStatus added in v1.85.0

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

func (*FakePrivateCACertificates) Watch added in v1.85.0

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

type FakePrivatecaV1beta1

type FakePrivatecaV1beta1 struct {
	*testing.Fake
}

func (*FakePrivatecaV1beta1) PrivateCACAPools

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

func (*FakePrivatecaV1beta1) PrivateCACertificateAuthorities added in v1.74.0

func (c *FakePrivatecaV1beta1) PrivateCACertificateAuthorities(namespace string) v1beta1.PrivateCACertificateAuthorityInterface

func (*FakePrivatecaV1beta1) PrivateCACertificateTemplates

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

func (*FakePrivatecaV1beta1) PrivateCACertificates added in v1.85.0

func (c *FakePrivatecaV1beta1) PrivateCACertificates(namespace string) v1beta1.PrivateCACertificateInterface

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