Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeComputeInstanceClaimParameterses
- func (c *FakeComputeInstanceClaimParameterses) Create(ctx context.Context, ...) (result *v1alpha1.ComputeInstanceClaimParameters, err error)
- func (c *FakeComputeInstanceClaimParameterses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeComputeInstanceClaimParameterses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeComputeInstanceClaimParameterses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComputeInstanceClaimParameters, err error)
- func (c *FakeComputeInstanceClaimParameterses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComputeInstanceClaimParametersList, err error)
- func (c *FakeComputeInstanceClaimParameterses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ComputeInstanceClaimParameters, err error)
- func (c *FakeComputeInstanceClaimParameterses) Update(ctx context.Context, ...) (result *v1alpha1.ComputeInstanceClaimParameters, err error)
- func (c *FakeComputeInstanceClaimParameterses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDeviceClassParameters
- func (c *FakeDeviceClassParameters) Create(ctx context.Context, deviceClassParameters *v1alpha1.DeviceClassParameters, ...) (result *v1alpha1.DeviceClassParameters, err error)
- func (c *FakeDeviceClassParameters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeviceClassParameters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeviceClassParameters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeviceClassParameters, err error)
- func (c *FakeDeviceClassParameters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeviceClassParametersList, err error)
- func (c *FakeDeviceClassParameters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DeviceClassParameters, err error)
- func (c *FakeDeviceClassParameters) Update(ctx context.Context, deviceClassParameters *v1alpha1.DeviceClassParameters, ...) (result *v1alpha1.DeviceClassParameters, err error)
- func (c *FakeDeviceClassParameters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGpuClaimParameters
- func (c *FakeGpuClaimParameters) Create(ctx context.Context, gpuClaimParameters *v1alpha1.GpuClaimParameters, ...) (result *v1alpha1.GpuClaimParameters, err error)
- func (c *FakeGpuClaimParameters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGpuClaimParameters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGpuClaimParameters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GpuClaimParameters, err error)
- func (c *FakeGpuClaimParameters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GpuClaimParametersList, err error)
- func (c *FakeGpuClaimParameters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GpuClaimParameters, err error)
- func (c *FakeGpuClaimParameters) Update(ctx context.Context, gpuClaimParameters *v1alpha1.GpuClaimParameters, ...) (result *v1alpha1.GpuClaimParameters, err error)
- func (c *FakeGpuClaimParameters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGpuV1alpha1
- func (c *FakeGpuV1alpha1) ComputeInstanceClaimParameterses(namespace string) v1alpha1.ComputeInstanceClaimParametersInterface
- func (c *FakeGpuV1alpha1) DeviceClassParameters() v1alpha1.DeviceClassParametersInterface
- func (c *FakeGpuV1alpha1) GpuClaimParameters(namespace string) v1alpha1.GpuClaimParametersInterface
- func (c *FakeGpuV1alpha1) MigDeviceClaimParameters(namespace string) v1alpha1.MigDeviceClaimParametersInterface
- func (c *FakeGpuV1alpha1) RESTClient() rest.Interface
- type FakeMigDeviceClaimParameters
- func (c *FakeMigDeviceClaimParameters) Create(ctx context.Context, ...) (result *v1alpha1.MigDeviceClaimParameters, err error)
- func (c *FakeMigDeviceClaimParameters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMigDeviceClaimParameters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMigDeviceClaimParameters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MigDeviceClaimParameters, err error)
- func (c *FakeMigDeviceClaimParameters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MigDeviceClaimParametersList, err error)
- func (c *FakeMigDeviceClaimParameters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MigDeviceClaimParameters, err error)
- func (c *FakeMigDeviceClaimParameters) Update(ctx context.Context, ...) (result *v1alpha1.MigDeviceClaimParameters, err error)
- func (c *FakeMigDeviceClaimParameters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeComputeInstanceClaimParameterses) Create(ctx context.Context, computeInstanceClaimParameters *v1alpha1.ComputeInstanceClaimParameters, opts v1.CreateOptions) (result *v1alpha1.ComputeInstanceClaimParameters, err error)
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 ¶
func (c *FakeComputeInstanceClaimParameterses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeComputeInstanceClaimParameterses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComputeInstanceClaimParameters, err error)
Get takes name of the computeInstanceClaimParameters, and returns the corresponding computeInstanceClaimParameters object, and an error if there is any.
func (*FakeComputeInstanceClaimParameterses) List ¶
func (c *FakeComputeInstanceClaimParameterses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComputeInstanceClaimParametersList, err error)
List takes label and field selectors, and returns the list of ComputeInstanceClaimParameterses that match those selectors.
func (*FakeComputeInstanceClaimParameterses) Patch ¶
func (c *FakeComputeInstanceClaimParameterses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ComputeInstanceClaimParameters, err error)
Patch applies the patch and returns the patched computeInstanceClaimParameters.
func (*FakeComputeInstanceClaimParameterses) Update ¶
func (c *FakeComputeInstanceClaimParameterses) Update(ctx context.Context, computeInstanceClaimParameters *v1alpha1.ComputeInstanceClaimParameters, opts v1.UpdateOptions) (result *v1alpha1.ComputeInstanceClaimParameters, err error)
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 ¶
func (c *FakeComputeInstanceClaimParameterses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeDeviceClassParameters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeDeviceClassParameters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeviceClassParameters, err error)
Get takes name of the deviceClassParameters, and returns the corresponding deviceClassParameters object, and an error if there is any.
func (*FakeDeviceClassParameters) List ¶
func (c *FakeDeviceClassParameters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeviceClassParametersList, err error)
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 ¶
func (c *FakeDeviceClassParameters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeGpuClaimParameters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GpuClaimParametersList, err error)
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 ¶
func (c *FakeGpuClaimParameters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gpuClaimParameters.
type FakeGpuV1alpha1 ¶
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 ¶
func (c *FakeMigDeviceClaimParameters) Create(ctx context.Context, migDeviceClaimParameters *v1alpha1.MigDeviceClaimParameters, opts v1.CreateOptions) (result *v1alpha1.MigDeviceClaimParameters, err error)
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 ¶
func (c *FakeMigDeviceClaimParameters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeMigDeviceClaimParameters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MigDeviceClaimParameters, err error)
Get takes name of the migDeviceClaimParameters, and returns the corresponding migDeviceClaimParameters object, and an error if there is any.
func (*FakeMigDeviceClaimParameters) List ¶
func (c *FakeMigDeviceClaimParameters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MigDeviceClaimParametersList, err error)
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 ¶
func (c *FakeMigDeviceClaimParameters) Update(ctx context.Context, migDeviceClaimParameters *v1alpha1.MigDeviceClaimParameters, opts v1.UpdateOptions) (result *v1alpha1.MigDeviceClaimParameters, err error)
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 ¶
func (c *FakeMigDeviceClaimParameters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested migDeviceClaimParameters.