fake

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 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 FakeImageVerificationPolicies

type FakeImageVerificationPolicies struct {
	Fake *FakeNirmataV1alpha1
	// contains filtered or unexported fields
}

FakeImageVerificationPolicies implements ImageVerificationPolicyInterface

func (*FakeImageVerificationPolicies) Create

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

func (*FakeImageVerificationPolicies) Delete

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

func (*FakeImageVerificationPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeImageVerificationPolicies) Get

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

func (*FakeImageVerificationPolicies) List

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

func (*FakeImageVerificationPolicies) Patch

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

Patch applies the patch and returns the patched imageVerificationPolicy.

func (*FakeImageVerificationPolicies) Update

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

func (*FakeImageVerificationPolicies) Watch

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

type FakeNirmataV1alpha1

type FakeNirmataV1alpha1 struct {
	*testing.Fake
}

func (*FakeNirmataV1alpha1) ImageVerificationPolicies

func (c *FakeNirmataV1alpha1) ImageVerificationPolicies(namespace string) v1alpha1.ImageVerificationPolicyInterface

func (*FakeNirmataV1alpha1) RESTClient

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