fake

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 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 FakeConfidentialcontainersV1alpha1

type FakeConfidentialcontainersV1alpha1 struct {
	*testing.Fake
}

func (*FakeConfidentialcontainersV1alpha1) PeerpodVolumes

func (*FakeConfidentialcontainersV1alpha1) RESTClient

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

type FakePeerpodVolumes

type FakePeerpodVolumes struct {
	Fake *FakeConfidentialcontainersV1alpha1
	// contains filtered or unexported fields
}

FakePeerpodVolumes implements PeerpodVolumeInterface

func (*FakePeerpodVolumes) Create

func (c *FakePeerpodVolumes) Create(ctx context.Context, peerpodVolume *v1alpha1.PeerpodVolume, opts v1.CreateOptions) (result *v1alpha1.PeerpodVolume, err error)

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

func (*FakePeerpodVolumes) Delete

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

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

func (*FakePeerpodVolumes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePeerpodVolumes) Get

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

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

func (*FakePeerpodVolumes) List

func (c *FakePeerpodVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PeerpodVolumeList, err error)

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

func (*FakePeerpodVolumes) Patch

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

Patch applies the patch and returns the patched peerpodVolume.

func (*FakePeerpodVolumes) Update

func (c *FakePeerpodVolumes) Update(ctx context.Context, peerpodVolume *v1alpha1.PeerpodVolume, opts v1.UpdateOptions) (result *v1alpha1.PeerpodVolume, err error)

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

func (*FakePeerpodVolumes) UpdateStatus

func (c *FakePeerpodVolumes) UpdateStatus(ctx context.Context, peerpodVolume *v1alpha1.PeerpodVolume, opts v1.UpdateOptions) (*v1alpha1.PeerpodVolume, error)

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

func (*FakePeerpodVolumes) Watch

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

Jump to

Keyboard shortcuts

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