fake

package
v1.95.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 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 FakeCredentialsBindings

type FakeCredentialsBindings struct {
	Fake *FakeSecurityV1alpha1
	// contains filtered or unexported fields
}

FakeCredentialsBindings implements CredentialsBindingInterface

func (*FakeCredentialsBindings) Create

func (c *FakeCredentialsBindings) Create(ctx context.Context, credentialsBinding *v1alpha1.CredentialsBinding, opts v1.CreateOptions) (result *v1alpha1.CredentialsBinding, err error)

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

func (*FakeCredentialsBindings) Delete

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

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

func (*FakeCredentialsBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCredentialsBindings) Get

func (c *FakeCredentialsBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CredentialsBinding, err error)

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

func (*FakeCredentialsBindings) List

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

func (*FakeCredentialsBindings) Patch

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

Patch applies the patch and returns the patched credentialsBinding.

func (*FakeCredentialsBindings) Update

func (c *FakeCredentialsBindings) Update(ctx context.Context, credentialsBinding *v1alpha1.CredentialsBinding, opts v1.UpdateOptions) (result *v1alpha1.CredentialsBinding, err error)

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

func (*FakeCredentialsBindings) Watch

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

type FakeSecurityV1alpha1

type FakeSecurityV1alpha1 struct {
	*testing.Fake
}

func (*FakeSecurityV1alpha1) CredentialsBindings

func (c *FakeSecurityV1alpha1) CredentialsBindings(namespace string) v1alpha1.CredentialsBindingInterface

func (*FakeSecurityV1alpha1) RESTClient

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