Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDeviceClasses
- func (c *FakeDeviceClasses) Apply(ctx context.Context, ...) (result *v1alpha3.DeviceClass, err error)
- func (c *FakeDeviceClasses) Create(ctx context.Context, deviceClass *v1alpha3.DeviceClass, opts v1.CreateOptions) (result *v1alpha3.DeviceClass, err error)
- func (c *FakeDeviceClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeviceClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeviceClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.DeviceClass, err error)
- func (c *FakeDeviceClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.DeviceClassList, err error)
- func (c *FakeDeviceClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha3.DeviceClass, err error)
- func (c *FakeDeviceClasses) Update(ctx context.Context, deviceClass *v1alpha3.DeviceClass, opts v1.UpdateOptions) (result *v1alpha3.DeviceClass, err error)
- func (c *FakeDeviceClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceClaimTemplates
- func (c *FakeResourceClaimTemplates) Apply(ctx context.Context, ...) (result *v1alpha3.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) Create(ctx context.Context, resourceClaimTemplate *v1alpha3.ResourceClaimTemplate, ...) (result *v1alpha3.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceClaimTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceClaimTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.ResourceClaimTemplateList, err error)
- func (c *FakeResourceClaimTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha3.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) Update(ctx context.Context, resourceClaimTemplate *v1alpha3.ResourceClaimTemplate, ...) (result *v1alpha3.ResourceClaimTemplate, err error)
- func (c *FakeResourceClaimTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceClaims
- func (c *FakeResourceClaims) Apply(ctx context.Context, ...) (result *v1alpha3.ResourceClaim, err error)
- func (c *FakeResourceClaims) ApplyStatus(ctx context.Context, ...) (result *v1alpha3.ResourceClaim, err error)
- func (c *FakeResourceClaims) Create(ctx context.Context, resourceClaim *v1alpha3.ResourceClaim, ...) (result *v1alpha3.ResourceClaim, err error)
- func (c *FakeResourceClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.ResourceClaim, err error)
- func (c *FakeResourceClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.ResourceClaimList, err error)
- func (c *FakeResourceClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha3.ResourceClaim, err error)
- func (c *FakeResourceClaims) Update(ctx context.Context, resourceClaim *v1alpha3.ResourceClaim, ...) (result *v1alpha3.ResourceClaim, err error)
- func (c *FakeResourceClaims) UpdateStatus(ctx context.Context, resourceClaim *v1alpha3.ResourceClaim, ...) (result *v1alpha3.ResourceClaim, err error)
- func (c *FakeResourceClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceSlices
- func (c *FakeResourceSlices) Apply(ctx context.Context, ...) (result *v1alpha3.ResourceSlice, err error)
- func (c *FakeResourceSlices) Create(ctx context.Context, resourceSlice *v1alpha3.ResourceSlice, ...) (result *v1alpha3.ResourceSlice, err error)
- func (c *FakeResourceSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.ResourceSlice, err error)
- func (c *FakeResourceSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.ResourceSliceList, err error)
- func (c *FakeResourceSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha3.ResourceSlice, err error)
- func (c *FakeResourceSlices) Update(ctx context.Context, resourceSlice *v1alpha3.ResourceSlice, ...) (result *v1alpha3.ResourceSlice, err error)
- func (c *FakeResourceSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceV1alpha3
- func (c *FakeResourceV1alpha3) DeviceClasses() v1alpha3.DeviceClassInterface
- func (c *FakeResourceV1alpha3) RESTClient() rest.Interface
- func (c *FakeResourceV1alpha3) ResourceClaimTemplates(namespace string) v1alpha3.ResourceClaimTemplateInterface
- func (c *FakeResourceV1alpha3) ResourceClaims(namespace string) v1alpha3.ResourceClaimInterface
- func (c *FakeResourceV1alpha3) ResourceSlices() v1alpha3.ResourceSliceInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDeviceClasses ¶
type FakeDeviceClasses struct {
Fake *FakeResourceV1alpha3
}
FakeDeviceClasses implements DeviceClassInterface
func (*FakeDeviceClasses) Apply ¶
func (c *FakeDeviceClasses) Apply(ctx context.Context, deviceClass *resourcev1alpha3.DeviceClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.DeviceClass, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied deviceClass.
func (*FakeDeviceClasses) Create ¶
func (c *FakeDeviceClasses) Create(ctx context.Context, deviceClass *v1alpha3.DeviceClass, opts v1.CreateOptions) (result *v1alpha3.DeviceClass, err error)
Create takes the representation of a deviceClass and creates it. Returns the server's representation of the deviceClass, and an error, if there is any.
func (*FakeDeviceClasses) Delete ¶
func (c *FakeDeviceClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the deviceClass and deletes it. Returns an error if one occurs.
func (*FakeDeviceClasses) DeleteCollection ¶
func (c *FakeDeviceClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeviceClasses) Get ¶
func (c *FakeDeviceClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.DeviceClass, err error)
Get takes name of the deviceClass, and returns the corresponding deviceClass object, and an error if there is any.
func (*FakeDeviceClasses) List ¶
func (c *FakeDeviceClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.DeviceClassList, err error)
List takes label and field selectors, and returns the list of DeviceClasses that match those selectors.
func (*FakeDeviceClasses) Patch ¶
func (c *FakeDeviceClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha3.DeviceClass, err error)
Patch applies the patch and returns the patched deviceClass.
func (*FakeDeviceClasses) Update ¶
func (c *FakeDeviceClasses) Update(ctx context.Context, deviceClass *v1alpha3.DeviceClass, opts v1.UpdateOptions) (result *v1alpha3.DeviceClass, err error)
Update takes the representation of a deviceClass and updates it. Returns the server's representation of the deviceClass, and an error, if there is any.
func (*FakeDeviceClasses) Watch ¶
func (c *FakeDeviceClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deviceClasses.
type FakeResourceClaimTemplates ¶
type FakeResourceClaimTemplates struct { Fake *FakeResourceV1alpha3 // contains filtered or unexported fields }
FakeResourceClaimTemplates implements ResourceClaimTemplateInterface
func (*FakeResourceClaimTemplates) Apply ¶
func (c *FakeResourceClaimTemplates) Apply(ctx context.Context, resourceClaimTemplate *resourcev1alpha3.ResourceClaimTemplateApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.ResourceClaimTemplate, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied resourceClaimTemplate.
func (*FakeResourceClaimTemplates) Create ¶
func (c *FakeResourceClaimTemplates) Create(ctx context.Context, resourceClaimTemplate *v1alpha3.ResourceClaimTemplate, opts v1.CreateOptions) (result *v1alpha3.ResourceClaimTemplate, err error)
Create takes the representation of a resourceClaimTemplate and creates it. Returns the server's representation of the resourceClaimTemplate, and an error, if there is any.
func (*FakeResourceClaimTemplates) Delete ¶
func (c *FakeResourceClaimTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceClaimTemplate and deletes it. Returns an error if one occurs.
func (*FakeResourceClaimTemplates) DeleteCollection ¶
func (c *FakeResourceClaimTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceClaimTemplates) Get ¶
func (c *FakeResourceClaimTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.ResourceClaimTemplate, err error)
Get takes name of the resourceClaimTemplate, and returns the corresponding resourceClaimTemplate object, and an error if there is any.
func (*FakeResourceClaimTemplates) List ¶
func (c *FakeResourceClaimTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.ResourceClaimTemplateList, err error)
List takes label and field selectors, and returns the list of ResourceClaimTemplates that match those selectors.
func (*FakeResourceClaimTemplates) Patch ¶
func (c *FakeResourceClaimTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha3.ResourceClaimTemplate, err error)
Patch applies the patch and returns the patched resourceClaimTemplate.
func (*FakeResourceClaimTemplates) Update ¶
func (c *FakeResourceClaimTemplates) Update(ctx context.Context, resourceClaimTemplate *v1alpha3.ResourceClaimTemplate, opts v1.UpdateOptions) (result *v1alpha3.ResourceClaimTemplate, err error)
Update takes the representation of a resourceClaimTemplate and updates it. Returns the server's representation of the resourceClaimTemplate, and an error, if there is any.
func (*FakeResourceClaimTemplates) Watch ¶
func (c *FakeResourceClaimTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceClaimTemplates.
type FakeResourceClaims ¶
type FakeResourceClaims struct { Fake *FakeResourceV1alpha3 // contains filtered or unexported fields }
FakeResourceClaims implements ResourceClaimInterface
func (*FakeResourceClaims) Apply ¶
func (c *FakeResourceClaims) Apply(ctx context.Context, resourceClaim *resourcev1alpha3.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.ResourceClaim, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied resourceClaim.
func (*FakeResourceClaims) ApplyStatus ¶
func (c *FakeResourceClaims) ApplyStatus(ctx context.Context, resourceClaim *resourcev1alpha3.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.ResourceClaim, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeResourceClaims) Create ¶
func (c *FakeResourceClaims) Create(ctx context.Context, resourceClaim *v1alpha3.ResourceClaim, opts v1.CreateOptions) (result *v1alpha3.ResourceClaim, err error)
Create takes the representation of a resourceClaim and creates it. Returns the server's representation of the resourceClaim, and an error, if there is any.
func (*FakeResourceClaims) Delete ¶
func (c *FakeResourceClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceClaim and deletes it. Returns an error if one occurs.
func (*FakeResourceClaims) DeleteCollection ¶
func (c *FakeResourceClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceClaims) Get ¶
func (c *FakeResourceClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.ResourceClaim, err error)
Get takes name of the resourceClaim, and returns the corresponding resourceClaim object, and an error if there is any.
func (*FakeResourceClaims) List ¶
func (c *FakeResourceClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.ResourceClaimList, err error)
List takes label and field selectors, and returns the list of ResourceClaims that match those selectors.
func (*FakeResourceClaims) Patch ¶
func (c *FakeResourceClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha3.ResourceClaim, err error)
Patch applies the patch and returns the patched resourceClaim.
func (*FakeResourceClaims) Update ¶
func (c *FakeResourceClaims) Update(ctx context.Context, resourceClaim *v1alpha3.ResourceClaim, opts v1.UpdateOptions) (result *v1alpha3.ResourceClaim, err error)
Update takes the representation of a resourceClaim and updates it. Returns the server's representation of the resourceClaim, and an error, if there is any.
func (*FakeResourceClaims) UpdateStatus ¶
func (c *FakeResourceClaims) UpdateStatus(ctx context.Context, resourceClaim *v1alpha3.ResourceClaim, opts v1.UpdateOptions) (result *v1alpha3.ResourceClaim, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceClaims) Watch ¶
func (c *FakeResourceClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceClaims.
type FakeResourceSlices ¶
type FakeResourceSlices struct {
Fake *FakeResourceV1alpha3
}
FakeResourceSlices implements ResourceSliceInterface
func (*FakeResourceSlices) Apply ¶
func (c *FakeResourceSlices) Apply(ctx context.Context, resourceSlice *resourcev1alpha3.ResourceSliceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.ResourceSlice, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied resourceSlice.
func (*FakeResourceSlices) Create ¶
func (c *FakeResourceSlices) Create(ctx context.Context, resourceSlice *v1alpha3.ResourceSlice, opts v1.CreateOptions) (result *v1alpha3.ResourceSlice, err error)
Create takes the representation of a resourceSlice and creates it. Returns the server's representation of the resourceSlice, and an error, if there is any.
func (*FakeResourceSlices) Delete ¶
func (c *FakeResourceSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceSlice and deletes it. Returns an error if one occurs.
func (*FakeResourceSlices) DeleteCollection ¶
func (c *FakeResourceSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceSlices) Get ¶
func (c *FakeResourceSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.ResourceSlice, err error)
Get takes name of the resourceSlice, and returns the corresponding resourceSlice object, and an error if there is any.
func (*FakeResourceSlices) List ¶
func (c *FakeResourceSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.ResourceSliceList, err error)
List takes label and field selectors, and returns the list of ResourceSlices that match those selectors.
func (*FakeResourceSlices) Patch ¶
func (c *FakeResourceSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha3.ResourceSlice, err error)
Patch applies the patch and returns the patched resourceSlice.
func (*FakeResourceSlices) Update ¶
func (c *FakeResourceSlices) Update(ctx context.Context, resourceSlice *v1alpha3.ResourceSlice, opts v1.UpdateOptions) (result *v1alpha3.ResourceSlice, err error)
Update takes the representation of a resourceSlice and updates it. Returns the server's representation of the resourceSlice, and an error, if there is any.
func (*FakeResourceSlices) Watch ¶
func (c *FakeResourceSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceSlices.
type FakeResourceV1alpha3 ¶
func (*FakeResourceV1alpha3) DeviceClasses ¶
func (c *FakeResourceV1alpha3) DeviceClasses() v1alpha3.DeviceClassInterface
func (*FakeResourceV1alpha3) RESTClient ¶
func (c *FakeResourceV1alpha3) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeResourceV1alpha3) ResourceClaimTemplates ¶
func (c *FakeResourceV1alpha3) ResourceClaimTemplates(namespace string) v1alpha3.ResourceClaimTemplateInterface
func (*FakeResourceV1alpha3) ResourceClaims ¶
func (c *FakeResourceV1alpha3) ResourceClaims(namespace string) v1alpha3.ResourceClaimInterface
func (*FakeResourceV1alpha3) ResourceSlices ¶
func (c *FakeResourceV1alpha3) ResourceSlices() v1alpha3.ResourceSliceInterface