fake

package
v0.26.1-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 13 Imported by: 72

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 FakeAdmissionregistrationV1alpha1

type FakeAdmissionregistrationV1alpha1 struct {
	*testing.Fake
}

func (*FakeAdmissionregistrationV1alpha1) RESTClient

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

func (*FakeAdmissionregistrationV1alpha1) ValidatingAdmissionPolicies

func (*FakeAdmissionregistrationV1alpha1) ValidatingAdmissionPolicyBindings

type FakeValidatingAdmissionPolicies

type FakeValidatingAdmissionPolicies struct {
	Fake *FakeAdmissionregistrationV1alpha1
}

FakeValidatingAdmissionPolicies implements ValidatingAdmissionPolicyInterface

func (*FakeValidatingAdmissionPolicies) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied validatingAdmissionPolicy.

func (*FakeValidatingAdmissionPolicies) Create

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

func (*FakeValidatingAdmissionPolicies) Delete

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

func (*FakeValidatingAdmissionPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeValidatingAdmissionPolicies) Get

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

func (*FakeValidatingAdmissionPolicies) List

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

func (*FakeValidatingAdmissionPolicies) Patch

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

Patch applies the patch and returns the patched validatingAdmissionPolicy.

func (*FakeValidatingAdmissionPolicies) Update

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

func (*FakeValidatingAdmissionPolicies) Watch

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

type FakeValidatingAdmissionPolicyBindings

type FakeValidatingAdmissionPolicyBindings struct {
	Fake *FakeAdmissionregistrationV1alpha1
}

FakeValidatingAdmissionPolicyBindings implements ValidatingAdmissionPolicyBindingInterface

func (*FakeValidatingAdmissionPolicyBindings) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied validatingAdmissionPolicyBinding.

func (*FakeValidatingAdmissionPolicyBindings) Create

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

func (*FakeValidatingAdmissionPolicyBindings) Delete

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

func (*FakeValidatingAdmissionPolicyBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeValidatingAdmissionPolicyBindings) Get

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

func (*FakeValidatingAdmissionPolicyBindings) List

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

func (*FakeValidatingAdmissionPolicyBindings) Patch

Patch applies the patch and returns the patched validatingAdmissionPolicyBinding.

func (*FakeValidatingAdmissionPolicyBindings) Update

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

func (*FakeValidatingAdmissionPolicyBindings) Watch

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

Jump to

Keyboard shortcuts

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