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 FakeRecaptchaEnterpriseKeys

type FakeRecaptchaEnterpriseKeys struct {
	Fake *FakeRecaptchaenterpriseV1beta1
	// contains filtered or unexported fields
}

FakeRecaptchaEnterpriseKeys implements RecaptchaEnterpriseKeyInterface

func (*FakeRecaptchaEnterpriseKeys) Create

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

func (*FakeRecaptchaEnterpriseKeys) Delete

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

func (*FakeRecaptchaEnterpriseKeys) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRecaptchaEnterpriseKeys) Get

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

func (*FakeRecaptchaEnterpriseKeys) List

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

func (*FakeRecaptchaEnterpriseKeys) Patch

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

Patch applies the patch and returns the patched recaptchaEnterpriseKey.

func (*FakeRecaptchaEnterpriseKeys) Update

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

func (*FakeRecaptchaEnterpriseKeys) UpdateStatus

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

func (*FakeRecaptchaEnterpriseKeys) Watch

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

type FakeRecaptchaenterpriseV1beta1

type FakeRecaptchaenterpriseV1beta1 struct {
	*testing.Fake
}

func (*FakeRecaptchaenterpriseV1beta1) RESTClient

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

func (*FakeRecaptchaenterpriseV1beta1) RecaptchaEnterpriseKeys

func (c *FakeRecaptchaenterpriseV1beta1) RecaptchaEnterpriseKeys(namespace string) v1beta1.RecaptchaEnterpriseKeyInterface

Jump to

Keyboard shortcuts

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