fake

package
v0.0.0-...-c16a028 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 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 FakeComputeInstanceClaimParameterses

type FakeComputeInstanceClaimParameterses struct {
	Fake *FakeGpuV1alpha1
	// contains filtered or unexported fields
}

FakeComputeInstanceClaimParameterses implements ComputeInstanceClaimParametersInterface

func (*FakeComputeInstanceClaimParameterses) Create

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

func (*FakeComputeInstanceClaimParameterses) Delete

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

func (*FakeComputeInstanceClaimParameterses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeComputeInstanceClaimParameterses) Get

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

func (*FakeComputeInstanceClaimParameterses) List

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

func (*FakeComputeInstanceClaimParameterses) Patch

Patch applies the patch and returns the patched computeInstanceClaimParameters.

func (*FakeComputeInstanceClaimParameterses) Update

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

func (*FakeComputeInstanceClaimParameterses) Watch

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

type FakeDeviceClassParameters

type FakeDeviceClassParameters struct {
	Fake *FakeGpuV1alpha1
}

FakeDeviceClassParameters implements DeviceClassParametersInterface

func (*FakeDeviceClassParameters) Create

func (c *FakeDeviceClassParameters) Create(ctx context.Context, deviceClassParameters *v1alpha1.DeviceClassParameters, opts v1.CreateOptions) (result *v1alpha1.DeviceClassParameters, err error)

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

func (*FakeDeviceClassParameters) Delete

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

func (*FakeDeviceClassParameters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDeviceClassParameters) Get

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

func (*FakeDeviceClassParameters) List

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

func (*FakeDeviceClassParameters) Patch

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

Patch applies the patch and returns the patched deviceClassParameters.

func (*FakeDeviceClassParameters) Update

func (c *FakeDeviceClassParameters) Update(ctx context.Context, deviceClassParameters *v1alpha1.DeviceClassParameters, opts v1.UpdateOptions) (result *v1alpha1.DeviceClassParameters, err error)

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

func (*FakeDeviceClassParameters) Watch

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

type FakeGpuClaimParameters

type FakeGpuClaimParameters struct {
	Fake *FakeGpuV1alpha1
	// contains filtered or unexported fields
}

FakeGpuClaimParameters implements GpuClaimParametersInterface

func (*FakeGpuClaimParameters) Create

func (c *FakeGpuClaimParameters) Create(ctx context.Context, gpuClaimParameters *v1alpha1.GpuClaimParameters, opts v1.CreateOptions) (result *v1alpha1.GpuClaimParameters, err error)

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

func (*FakeGpuClaimParameters) Delete

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

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

func (*FakeGpuClaimParameters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGpuClaimParameters) Get

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

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

func (*FakeGpuClaimParameters) List

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

func (*FakeGpuClaimParameters) Patch

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

Patch applies the patch and returns the patched gpuClaimParameters.

func (*FakeGpuClaimParameters) Update

func (c *FakeGpuClaimParameters) Update(ctx context.Context, gpuClaimParameters *v1alpha1.GpuClaimParameters, opts v1.UpdateOptions) (result *v1alpha1.GpuClaimParameters, err error)

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

func (*FakeGpuClaimParameters) Watch

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

type FakeGpuV1alpha1

type FakeGpuV1alpha1 struct {
	*testing.Fake
}

func (*FakeGpuV1alpha1) ComputeInstanceClaimParameterses

func (c *FakeGpuV1alpha1) ComputeInstanceClaimParameterses(namespace string) v1alpha1.ComputeInstanceClaimParametersInterface

func (*FakeGpuV1alpha1) DeviceClassParameters

func (c *FakeGpuV1alpha1) DeviceClassParameters() v1alpha1.DeviceClassParametersInterface

func (*FakeGpuV1alpha1) GpuClaimParameters

func (c *FakeGpuV1alpha1) GpuClaimParameters(namespace string) v1alpha1.GpuClaimParametersInterface

func (*FakeGpuV1alpha1) MigDeviceClaimParameters

func (c *FakeGpuV1alpha1) MigDeviceClaimParameters(namespace string) v1alpha1.MigDeviceClaimParametersInterface

func (*FakeGpuV1alpha1) RESTClient

func (c *FakeGpuV1alpha1) RESTClient() rest.Interface

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

type FakeMigDeviceClaimParameters

type FakeMigDeviceClaimParameters struct {
	Fake *FakeGpuV1alpha1
	// contains filtered or unexported fields
}

FakeMigDeviceClaimParameters implements MigDeviceClaimParametersInterface

func (*FakeMigDeviceClaimParameters) Create

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

func (*FakeMigDeviceClaimParameters) Delete

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

func (*FakeMigDeviceClaimParameters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMigDeviceClaimParameters) Get

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

func (*FakeMigDeviceClaimParameters) List

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

func (*FakeMigDeviceClaimParameters) Patch

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

Patch applies the patch and returns the patched migDeviceClaimParameters.

func (*FakeMigDeviceClaimParameters) Update

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

func (*FakeMigDeviceClaimParameters) Watch

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

Jump to

Keyboard shortcuts

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