Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGPUClassParameters
- func (c *FakeGPUClassParameters) Apply(ctx context.Context, ...) (result *v1alpha1.GPUClassParameters, err error)
- func (c *FakeGPUClassParameters) Create(ctx context.Context, gPUClassParameters *v1alpha1.GPUClassParameters, ...) (result *v1alpha1.GPUClassParameters, err error)
- func (c *FakeGPUClassParameters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGPUClassParameters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGPUClassParameters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GPUClassParameters, err error)
- func (c *FakeGPUClassParameters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GPUClassParametersList, err error)
- func (c *FakeGPUClassParameters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GPUClassParameters, err error)
- func (c *FakeGPUClassParameters) Update(ctx context.Context, gPUClassParameters *v1alpha1.GPUClassParameters, ...) (result *v1alpha1.GPUClassParameters, err error)
- func (c *FakeGPUClassParameters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGPURequirements
- func (c *FakeGPURequirements) Apply(ctx context.Context, ...) (result *v1alpha1.GPURequirements, err error)
- func (c *FakeGPURequirements) Create(ctx context.Context, gPURequirements *v1alpha1.GPURequirements, ...) (result *v1alpha1.GPURequirements, err error)
- func (c *FakeGPURequirements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGPURequirements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGPURequirements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GPURequirements, err error)
- func (c *FakeGPURequirements) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GPURequirementsList, err error)
- func (c *FakeGPURequirements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GPURequirements, err error)
- func (c *FakeGPURequirements) Update(ctx context.Context, gPURequirements *v1alpha1.GPURequirements, ...) (result *v1alpha1.GPURequirements, err error)
- func (c *FakeGPURequirements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGpuV1alpha1
- func (c *FakeGpuV1alpha1) GPUClassParameters() v1alpha1.GPUClassParametersInterface
- func (c *FakeGpuV1alpha1) GPURequirements(namespace string) v1alpha1.GPURequirementsInterface
- func (c *FakeGpuV1alpha1) NodeGPUSlices(namespace string) v1alpha1.NodeGPUSlicesInterface
- func (c *FakeGpuV1alpha1) RESTClient() rest.Interface
- type FakeNodeGPUSlices
- func (c *FakeNodeGPUSlices) Apply(ctx context.Context, ...) (result *v1alpha1.NodeGPUSlices, err error)
- func (c *FakeNodeGPUSlices) Create(ctx context.Context, nodeGPUSlices *v1alpha1.NodeGPUSlices, ...) (result *v1alpha1.NodeGPUSlices, err error)
- func (c *FakeNodeGPUSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeGPUSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeGPUSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeGPUSlices, err error)
- func (c *FakeNodeGPUSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeGPUSlicesList, err error)
- func (c *FakeNodeGPUSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeGPUSlices, err error)
- func (c *FakeNodeGPUSlices) Update(ctx context.Context, nodeGPUSlices *v1alpha1.NodeGPUSlices, ...) (result *v1alpha1.NodeGPUSlices, err error)
- func (c *FakeNodeGPUSlices) 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 FakeGPUClassParameters ¶
type FakeGPUClassParameters struct {
Fake *FakeGpuV1alpha1
}
FakeGPUClassParameters implements GPUClassParametersInterface
func (*FakeGPUClassParameters) Apply ¶
func (c *FakeGPUClassParameters) Apply(ctx context.Context, gPUClassParameters *gpuv1alpha1.GPUClassParametersApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.GPUClassParameters, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied gPUClassParameters.
func (*FakeGPUClassParameters) Create ¶
func (c *FakeGPUClassParameters) Create(ctx context.Context, gPUClassParameters *v1alpha1.GPUClassParameters, opts v1.CreateOptions) (result *v1alpha1.GPUClassParameters, err error)
Create takes the representation of a gPUClassParameters and creates it. Returns the server's representation of the gPUClassParameters, and an error, if there is any.
func (*FakeGPUClassParameters) Delete ¶
func (c *FakeGPUClassParameters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gPUClassParameters and deletes it. Returns an error if one occurs.
func (*FakeGPUClassParameters) DeleteCollection ¶
func (c *FakeGPUClassParameters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGPUClassParameters) Get ¶
func (c *FakeGPUClassParameters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GPUClassParameters, err error)
Get takes name of the gPUClassParameters, and returns the corresponding gPUClassParameters object, and an error if there is any.
func (*FakeGPUClassParameters) List ¶
func (c *FakeGPUClassParameters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GPUClassParametersList, err error)
List takes label and field selectors, and returns the list of GPUClassParameters that match those selectors.
func (*FakeGPUClassParameters) Patch ¶
func (c *FakeGPUClassParameters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GPUClassParameters, err error)
Patch applies the patch and returns the patched gPUClassParameters.
func (*FakeGPUClassParameters) Update ¶
func (c *FakeGPUClassParameters) Update(ctx context.Context, gPUClassParameters *v1alpha1.GPUClassParameters, opts v1.UpdateOptions) (result *v1alpha1.GPUClassParameters, err error)
Update takes the representation of a gPUClassParameters and updates it. Returns the server's representation of the gPUClassParameters, and an error, if there is any.
func (*FakeGPUClassParameters) Watch ¶
func (c *FakeGPUClassParameters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gPUClassParameters.
type FakeGPURequirements ¶
type FakeGPURequirements struct { Fake *FakeGpuV1alpha1 // contains filtered or unexported fields }
FakeGPURequirements implements GPURequirementsInterface
func (*FakeGPURequirements) Apply ¶
func (c *FakeGPURequirements) Apply(ctx context.Context, gPURequirements *gpuv1alpha1.GPURequirementsApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.GPURequirements, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied gPURequirements.
func (*FakeGPURequirements) Create ¶
func (c *FakeGPURequirements) Create(ctx context.Context, gPURequirements *v1alpha1.GPURequirements, opts v1.CreateOptions) (result *v1alpha1.GPURequirements, err error)
Create takes the representation of a gPURequirements and creates it. Returns the server's representation of the gPURequirements, and an error, if there is any.
func (*FakeGPURequirements) Delete ¶
func (c *FakeGPURequirements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gPURequirements and deletes it. Returns an error if one occurs.
func (*FakeGPURequirements) DeleteCollection ¶
func (c *FakeGPURequirements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGPURequirements) Get ¶
func (c *FakeGPURequirements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GPURequirements, err error)
Get takes name of the gPURequirements, and returns the corresponding gPURequirements object, and an error if there is any.
func (*FakeGPURequirements) List ¶
func (c *FakeGPURequirements) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GPURequirementsList, err error)
List takes label and field selectors, and returns the list of GPURequirements that match those selectors.
func (*FakeGPURequirements) Patch ¶
func (c *FakeGPURequirements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GPURequirements, err error)
Patch applies the patch and returns the patched gPURequirements.
func (*FakeGPURequirements) Update ¶
func (c *FakeGPURequirements) Update(ctx context.Context, gPURequirements *v1alpha1.GPURequirements, opts v1.UpdateOptions) (result *v1alpha1.GPURequirements, err error)
Update takes the representation of a gPURequirements and updates it. Returns the server's representation of the gPURequirements, and an error, if there is any.
func (*FakeGPURequirements) Watch ¶
func (c *FakeGPURequirements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gPURequirements.
type FakeGpuV1alpha1 ¶
func (*FakeGpuV1alpha1) GPUClassParameters ¶
func (c *FakeGpuV1alpha1) GPUClassParameters() v1alpha1.GPUClassParametersInterface
func (*FakeGpuV1alpha1) GPURequirements ¶
func (c *FakeGpuV1alpha1) GPURequirements(namespace string) v1alpha1.GPURequirementsInterface
func (*FakeGpuV1alpha1) NodeGPUSlices ¶
func (c *FakeGpuV1alpha1) NodeGPUSlices(namespace string) v1alpha1.NodeGPUSlicesInterface
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 FakeNodeGPUSlices ¶
type FakeNodeGPUSlices struct { Fake *FakeGpuV1alpha1 // contains filtered or unexported fields }
FakeNodeGPUSlices implements NodeGPUSlicesInterface
func (*FakeNodeGPUSlices) Apply ¶
func (c *FakeNodeGPUSlices) Apply(ctx context.Context, nodeGPUSlices *gpuv1alpha1.NodeGPUSlicesApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NodeGPUSlices, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied nodeGPUSlices.
func (*FakeNodeGPUSlices) Create ¶
func (c *FakeNodeGPUSlices) Create(ctx context.Context, nodeGPUSlices *v1alpha1.NodeGPUSlices, opts v1.CreateOptions) (result *v1alpha1.NodeGPUSlices, err error)
Create takes the representation of a nodeGPUSlices and creates it. Returns the server's representation of the nodeGPUSlices, and an error, if there is any.
func (*FakeNodeGPUSlices) Delete ¶
func (c *FakeNodeGPUSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeGPUSlices and deletes it. Returns an error if one occurs.
func (*FakeNodeGPUSlices) DeleteCollection ¶
func (c *FakeNodeGPUSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeGPUSlices) Get ¶
func (c *FakeNodeGPUSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeGPUSlices, err error)
Get takes name of the nodeGPUSlices, and returns the corresponding nodeGPUSlices object, and an error if there is any.
func (*FakeNodeGPUSlices) List ¶
func (c *FakeNodeGPUSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeGPUSlicesList, err error)
List takes label and field selectors, and returns the list of NodeGPUSlices that match those selectors.
func (*FakeNodeGPUSlices) Patch ¶
func (c *FakeNodeGPUSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeGPUSlices, err error)
Patch applies the patch and returns the patched nodeGPUSlices.
func (*FakeNodeGPUSlices) Update ¶
func (c *FakeNodeGPUSlices) Update(ctx context.Context, nodeGPUSlices *v1alpha1.NodeGPUSlices, opts v1.UpdateOptions) (result *v1alpha1.NodeGPUSlices, err error)
Update takes the representation of a nodeGPUSlices and updates it. Returns the server's representation of the nodeGPUSlices, and an error, if there is any.
func (*FakeNodeGPUSlices) Watch ¶
func (c *FakeNodeGPUSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeGPUSlices.