Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCustomMachines
- func (c *FakeCustomMachines) Create(ctx context.Context, customMachine *v1.CustomMachine, ...) (result *v1.CustomMachine, err error)
- func (c *FakeCustomMachines) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCustomMachines) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCustomMachines) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CustomMachine, err error)
- func (c *FakeCustomMachines) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CustomMachineList, err error)
- func (c *FakeCustomMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CustomMachine, err error)
- func (c *FakeCustomMachines) Update(ctx context.Context, customMachine *v1.CustomMachine, ...) (result *v1.CustomMachine, err error)
- func (c *FakeCustomMachines) UpdateStatus(ctx context.Context, customMachine *v1.CustomMachine, ...) (*v1.CustomMachine, error)
- func (c *FakeCustomMachines) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeETCDSnapshots
- func (c *FakeETCDSnapshots) Create(ctx context.Context, eTCDSnapshot *v1.ETCDSnapshot, opts metav1.CreateOptions) (result *v1.ETCDSnapshot, err error)
- func (c *FakeETCDSnapshots) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeETCDSnapshots) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeETCDSnapshots) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ETCDSnapshot, err error)
- func (c *FakeETCDSnapshots) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ETCDSnapshotList, err error)
- func (c *FakeETCDSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ETCDSnapshot, err error)
- func (c *FakeETCDSnapshots) Update(ctx context.Context, eTCDSnapshot *v1.ETCDSnapshot, opts metav1.UpdateOptions) (result *v1.ETCDSnapshot, err error)
- func (c *FakeETCDSnapshots) UpdateStatus(ctx context.Context, eTCDSnapshot *v1.ETCDSnapshot, opts metav1.UpdateOptions) (*v1.ETCDSnapshot, error)
- func (c *FakeETCDSnapshots) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeRKEBootstrapTemplates
- func (c *FakeRKEBootstrapTemplates) Create(ctx context.Context, rKEBootstrapTemplate *v1.RKEBootstrapTemplate, ...) (result *v1.RKEBootstrapTemplate, err error)
- func (c *FakeRKEBootstrapTemplates) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeRKEBootstrapTemplates) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeRKEBootstrapTemplates) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RKEBootstrapTemplate, err error)
- func (c *FakeRKEBootstrapTemplates) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RKEBootstrapTemplateList, err error)
- func (c *FakeRKEBootstrapTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.RKEBootstrapTemplate, err error)
- func (c *FakeRKEBootstrapTemplates) Update(ctx context.Context, rKEBootstrapTemplate *v1.RKEBootstrapTemplate, ...) (result *v1.RKEBootstrapTemplate, err error)
- func (c *FakeRKEBootstrapTemplates) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeRKEBootstraps
- func (c *FakeRKEBootstraps) Create(ctx context.Context, rKEBootstrap *v1.RKEBootstrap, opts metav1.CreateOptions) (result *v1.RKEBootstrap, err error)
- func (c *FakeRKEBootstraps) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeRKEBootstraps) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeRKEBootstraps) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RKEBootstrap, err error)
- func (c *FakeRKEBootstraps) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RKEBootstrapList, err error)
- func (c *FakeRKEBootstraps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.RKEBootstrap, err error)
- func (c *FakeRKEBootstraps) Update(ctx context.Context, rKEBootstrap *v1.RKEBootstrap, opts metav1.UpdateOptions) (result *v1.RKEBootstrap, err error)
- func (c *FakeRKEBootstraps) UpdateStatus(ctx context.Context, rKEBootstrap *v1.RKEBootstrap, opts metav1.UpdateOptions) (*v1.RKEBootstrap, error)
- func (c *FakeRKEBootstraps) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeRKEClusters
- func (c *FakeRKEClusters) Create(ctx context.Context, rKECluster *v1.RKECluster, opts metav1.CreateOptions) (result *v1.RKECluster, err error)
- func (c *FakeRKEClusters) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeRKEClusters) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeRKEClusters) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RKECluster, err error)
- func (c *FakeRKEClusters) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RKEClusterList, err error)
- func (c *FakeRKEClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.RKECluster, err error)
- func (c *FakeRKEClusters) Update(ctx context.Context, rKECluster *v1.RKECluster, opts metav1.UpdateOptions) (result *v1.RKECluster, err error)
- func (c *FakeRKEClusters) UpdateStatus(ctx context.Context, rKECluster *v1.RKECluster, opts metav1.UpdateOptions) (*v1.RKECluster, error)
- func (c *FakeRKEClusters) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeRKEControlPlanes
- func (c *FakeRKEControlPlanes) Create(ctx context.Context, rKEControlPlane *v1.RKEControlPlane, ...) (result *v1.RKEControlPlane, err error)
- func (c *FakeRKEControlPlanes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeRKEControlPlanes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeRKEControlPlanes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RKEControlPlane, err error)
- func (c *FakeRKEControlPlanes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RKEControlPlaneList, err error)
- func (c *FakeRKEControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.RKEControlPlane, err error)
- func (c *FakeRKEControlPlanes) Update(ctx context.Context, rKEControlPlane *v1.RKEControlPlane, ...) (result *v1.RKEControlPlane, err error)
- func (c *FakeRKEControlPlanes) UpdateStatus(ctx context.Context, rKEControlPlane *v1.RKEControlPlane, ...) (*v1.RKEControlPlane, error)
- func (c *FakeRKEControlPlanes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeRkeV1
- func (c *FakeRkeV1) CustomMachines(namespace string) v1.CustomMachineInterface
- func (c *FakeRkeV1) ETCDSnapshots(namespace string) v1.ETCDSnapshotInterface
- func (c *FakeRkeV1) RESTClient() rest.Interface
- func (c *FakeRkeV1) RKEBootstrapTemplates(namespace string) v1.RKEBootstrapTemplateInterface
- func (c *FakeRkeV1) RKEBootstraps(namespace string) v1.RKEBootstrapInterface
- func (c *FakeRkeV1) RKEClusters(namespace string) v1.RKEClusterInterface
- func (c *FakeRkeV1) RKEControlPlanes(namespace string) v1.RKEControlPlaneInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCustomMachines ¶
type FakeCustomMachines struct { Fake *FakeRkeV1 // contains filtered or unexported fields }
FakeCustomMachines implements CustomMachineInterface
func (*FakeCustomMachines) Create ¶
func (c *FakeCustomMachines) Create(ctx context.Context, customMachine *v1.CustomMachine, opts metav1.CreateOptions) (result *v1.CustomMachine, err error)
Create takes the representation of a customMachine and creates it. Returns the server's representation of the customMachine, and an error, if there is any.
func (*FakeCustomMachines) Delete ¶
func (c *FakeCustomMachines) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the customMachine and deletes it. Returns an error if one occurs.
func (*FakeCustomMachines) DeleteCollection ¶
func (c *FakeCustomMachines) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomMachines) Get ¶
func (c *FakeCustomMachines) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CustomMachine, err error)
Get takes name of the customMachine, and returns the corresponding customMachine object, and an error if there is any.
func (*FakeCustomMachines) List ¶
func (c *FakeCustomMachines) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CustomMachineList, err error)
List takes label and field selectors, and returns the list of CustomMachines that match those selectors.
func (*FakeCustomMachines) Patch ¶
func (c *FakeCustomMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CustomMachine, err error)
Patch applies the patch and returns the patched customMachine.
func (*FakeCustomMachines) Update ¶
func (c *FakeCustomMachines) Update(ctx context.Context, customMachine *v1.CustomMachine, opts metav1.UpdateOptions) (result *v1.CustomMachine, err error)
Update takes the representation of a customMachine and updates it. Returns the server's representation of the customMachine, and an error, if there is any.
func (*FakeCustomMachines) UpdateStatus ¶
func (c *FakeCustomMachines) UpdateStatus(ctx context.Context, customMachine *v1.CustomMachine, opts metav1.UpdateOptions) (*v1.CustomMachine, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCustomMachines) Watch ¶
func (c *FakeCustomMachines) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customMachines.
type FakeETCDSnapshots ¶
type FakeETCDSnapshots struct { Fake *FakeRkeV1 // contains filtered or unexported fields }
FakeETCDSnapshots implements ETCDSnapshotInterface
func (*FakeETCDSnapshots) Create ¶
func (c *FakeETCDSnapshots) Create(ctx context.Context, eTCDSnapshot *v1.ETCDSnapshot, opts metav1.CreateOptions) (result *v1.ETCDSnapshot, err error)
Create takes the representation of a eTCDSnapshot and creates it. Returns the server's representation of the eTCDSnapshot, and an error, if there is any.
func (*FakeETCDSnapshots) Delete ¶
func (c *FakeETCDSnapshots) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the eTCDSnapshot and deletes it. Returns an error if one occurs.
func (*FakeETCDSnapshots) DeleteCollection ¶
func (c *FakeETCDSnapshots) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeETCDSnapshots) Get ¶
func (c *FakeETCDSnapshots) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ETCDSnapshot, err error)
Get takes name of the eTCDSnapshot, and returns the corresponding eTCDSnapshot object, and an error if there is any.
func (*FakeETCDSnapshots) List ¶
func (c *FakeETCDSnapshots) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ETCDSnapshotList, err error)
List takes label and field selectors, and returns the list of ETCDSnapshots that match those selectors.
func (*FakeETCDSnapshots) Patch ¶
func (c *FakeETCDSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ETCDSnapshot, err error)
Patch applies the patch and returns the patched eTCDSnapshot.
func (*FakeETCDSnapshots) Update ¶
func (c *FakeETCDSnapshots) Update(ctx context.Context, eTCDSnapshot *v1.ETCDSnapshot, opts metav1.UpdateOptions) (result *v1.ETCDSnapshot, err error)
Update takes the representation of a eTCDSnapshot and updates it. Returns the server's representation of the eTCDSnapshot, and an error, if there is any.
func (*FakeETCDSnapshots) UpdateStatus ¶
func (c *FakeETCDSnapshots) UpdateStatus(ctx context.Context, eTCDSnapshot *v1.ETCDSnapshot, opts metav1.UpdateOptions) (*v1.ETCDSnapshot, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeETCDSnapshots) Watch ¶
func (c *FakeETCDSnapshots) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eTCDSnapshots.
type FakeRKEBootstrapTemplates ¶
type FakeRKEBootstrapTemplates struct { Fake *FakeRkeV1 // contains filtered or unexported fields }
FakeRKEBootstrapTemplates implements RKEBootstrapTemplateInterface
func (*FakeRKEBootstrapTemplates) Create ¶
func (c *FakeRKEBootstrapTemplates) Create(ctx context.Context, rKEBootstrapTemplate *v1.RKEBootstrapTemplate, opts metav1.CreateOptions) (result *v1.RKEBootstrapTemplate, err error)
Create takes the representation of a rKEBootstrapTemplate and creates it. Returns the server's representation of the rKEBootstrapTemplate, and an error, if there is any.
func (*FakeRKEBootstrapTemplates) Delete ¶
func (c *FakeRKEBootstrapTemplates) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the rKEBootstrapTemplate and deletes it. Returns an error if one occurs.
func (*FakeRKEBootstrapTemplates) DeleteCollection ¶
func (c *FakeRKEBootstrapTemplates) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRKEBootstrapTemplates) Get ¶
func (c *FakeRKEBootstrapTemplates) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RKEBootstrapTemplate, err error)
Get takes name of the rKEBootstrapTemplate, and returns the corresponding rKEBootstrapTemplate object, and an error if there is any.
func (*FakeRKEBootstrapTemplates) List ¶
func (c *FakeRKEBootstrapTemplates) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RKEBootstrapTemplateList, err error)
List takes label and field selectors, and returns the list of RKEBootstrapTemplates that match those selectors.
func (*FakeRKEBootstrapTemplates) Patch ¶
func (c *FakeRKEBootstrapTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RKEBootstrapTemplate, err error)
Patch applies the patch and returns the patched rKEBootstrapTemplate.
func (*FakeRKEBootstrapTemplates) Update ¶
func (c *FakeRKEBootstrapTemplates) Update(ctx context.Context, rKEBootstrapTemplate *v1.RKEBootstrapTemplate, opts metav1.UpdateOptions) (result *v1.RKEBootstrapTemplate, err error)
Update takes the representation of a rKEBootstrapTemplate and updates it. Returns the server's representation of the rKEBootstrapTemplate, and an error, if there is any.
func (*FakeRKEBootstrapTemplates) Watch ¶
func (c *FakeRKEBootstrapTemplates) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rKEBootstrapTemplates.
type FakeRKEBootstraps ¶
type FakeRKEBootstraps struct { Fake *FakeRkeV1 // contains filtered or unexported fields }
FakeRKEBootstraps implements RKEBootstrapInterface
func (*FakeRKEBootstraps) Create ¶
func (c *FakeRKEBootstraps) Create(ctx context.Context, rKEBootstrap *v1.RKEBootstrap, opts metav1.CreateOptions) (result *v1.RKEBootstrap, err error)
Create takes the representation of a rKEBootstrap and creates it. Returns the server's representation of the rKEBootstrap, and an error, if there is any.
func (*FakeRKEBootstraps) Delete ¶
func (c *FakeRKEBootstraps) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the rKEBootstrap and deletes it. Returns an error if one occurs.
func (*FakeRKEBootstraps) DeleteCollection ¶
func (c *FakeRKEBootstraps) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRKEBootstraps) Get ¶
func (c *FakeRKEBootstraps) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RKEBootstrap, err error)
Get takes name of the rKEBootstrap, and returns the corresponding rKEBootstrap object, and an error if there is any.
func (*FakeRKEBootstraps) List ¶
func (c *FakeRKEBootstraps) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RKEBootstrapList, err error)
List takes label and field selectors, and returns the list of RKEBootstraps that match those selectors.
func (*FakeRKEBootstraps) Patch ¶
func (c *FakeRKEBootstraps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RKEBootstrap, err error)
Patch applies the patch and returns the patched rKEBootstrap.
func (*FakeRKEBootstraps) Update ¶
func (c *FakeRKEBootstraps) Update(ctx context.Context, rKEBootstrap *v1.RKEBootstrap, opts metav1.UpdateOptions) (result *v1.RKEBootstrap, err error)
Update takes the representation of a rKEBootstrap and updates it. Returns the server's representation of the rKEBootstrap, and an error, if there is any.
func (*FakeRKEBootstraps) UpdateStatus ¶
func (c *FakeRKEBootstraps) UpdateStatus(ctx context.Context, rKEBootstrap *v1.RKEBootstrap, opts metav1.UpdateOptions) (*v1.RKEBootstrap, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRKEBootstraps) Watch ¶
func (c *FakeRKEBootstraps) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rKEBootstraps.
type FakeRKEClusters ¶
type FakeRKEClusters struct { Fake *FakeRkeV1 // contains filtered or unexported fields }
FakeRKEClusters implements RKEClusterInterface
func (*FakeRKEClusters) Create ¶
func (c *FakeRKEClusters) Create(ctx context.Context, rKECluster *v1.RKECluster, opts metav1.CreateOptions) (result *v1.RKECluster, err error)
Create takes the representation of a rKECluster and creates it. Returns the server's representation of the rKECluster, and an error, if there is any.
func (*FakeRKEClusters) Delete ¶
func (c *FakeRKEClusters) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the rKECluster and deletes it. Returns an error if one occurs.
func (*FakeRKEClusters) DeleteCollection ¶
func (c *FakeRKEClusters) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRKEClusters) Get ¶
func (c *FakeRKEClusters) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RKECluster, err error)
Get takes name of the rKECluster, and returns the corresponding rKECluster object, and an error if there is any.
func (*FakeRKEClusters) List ¶
func (c *FakeRKEClusters) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RKEClusterList, err error)
List takes label and field selectors, and returns the list of RKEClusters that match those selectors.
func (*FakeRKEClusters) Patch ¶
func (c *FakeRKEClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RKECluster, err error)
Patch applies the patch and returns the patched rKECluster.
func (*FakeRKEClusters) Update ¶
func (c *FakeRKEClusters) Update(ctx context.Context, rKECluster *v1.RKECluster, opts metav1.UpdateOptions) (result *v1.RKECluster, err error)
Update takes the representation of a rKECluster and updates it. Returns the server's representation of the rKECluster, and an error, if there is any.
func (*FakeRKEClusters) UpdateStatus ¶
func (c *FakeRKEClusters) UpdateStatus(ctx context.Context, rKECluster *v1.RKECluster, opts metav1.UpdateOptions) (*v1.RKECluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRKEClusters) Watch ¶
func (c *FakeRKEClusters) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rKEClusters.
type FakeRKEControlPlanes ¶
type FakeRKEControlPlanes struct { Fake *FakeRkeV1 // contains filtered or unexported fields }
FakeRKEControlPlanes implements RKEControlPlaneInterface
func (*FakeRKEControlPlanes) Create ¶
func (c *FakeRKEControlPlanes) Create(ctx context.Context, rKEControlPlane *v1.RKEControlPlane, opts metav1.CreateOptions) (result *v1.RKEControlPlane, err error)
Create takes the representation of a rKEControlPlane and creates it. Returns the server's representation of the rKEControlPlane, and an error, if there is any.
func (*FakeRKEControlPlanes) Delete ¶
func (c *FakeRKEControlPlanes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the rKEControlPlane and deletes it. Returns an error if one occurs.
func (*FakeRKEControlPlanes) DeleteCollection ¶
func (c *FakeRKEControlPlanes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRKEControlPlanes) Get ¶
func (c *FakeRKEControlPlanes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RKEControlPlane, err error)
Get takes name of the rKEControlPlane, and returns the corresponding rKEControlPlane object, and an error if there is any.
func (*FakeRKEControlPlanes) List ¶
func (c *FakeRKEControlPlanes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RKEControlPlaneList, err error)
List takes label and field selectors, and returns the list of RKEControlPlanes that match those selectors.
func (*FakeRKEControlPlanes) Patch ¶
func (c *FakeRKEControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RKEControlPlane, err error)
Patch applies the patch and returns the patched rKEControlPlane.
func (*FakeRKEControlPlanes) Update ¶
func (c *FakeRKEControlPlanes) Update(ctx context.Context, rKEControlPlane *v1.RKEControlPlane, opts metav1.UpdateOptions) (result *v1.RKEControlPlane, err error)
Update takes the representation of a rKEControlPlane and updates it. Returns the server's representation of the rKEControlPlane, and an error, if there is any.
func (*FakeRKEControlPlanes) UpdateStatus ¶
func (c *FakeRKEControlPlanes) UpdateStatus(ctx context.Context, rKEControlPlane *v1.RKEControlPlane, opts metav1.UpdateOptions) (*v1.RKEControlPlane, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRKEControlPlanes) Watch ¶
func (c *FakeRKEControlPlanes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rKEControlPlanes.
type FakeRkeV1 ¶
func (*FakeRkeV1) CustomMachines ¶
func (c *FakeRkeV1) CustomMachines(namespace string) v1.CustomMachineInterface
func (*FakeRkeV1) ETCDSnapshots ¶
func (c *FakeRkeV1) ETCDSnapshots(namespace string) v1.ETCDSnapshotInterface
func (*FakeRkeV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeRkeV1) RKEBootstrapTemplates ¶
func (c *FakeRkeV1) RKEBootstrapTemplates(namespace string) v1.RKEBootstrapTemplateInterface
func (*FakeRkeV1) RKEBootstraps ¶
func (c *FakeRkeV1) RKEBootstraps(namespace string) v1.RKEBootstrapInterface
func (*FakeRkeV1) RKEClusters ¶
func (c *FakeRkeV1) RKEClusters(namespace string) v1.RKEClusterInterface
func (*FakeRkeV1) RKEControlPlanes ¶
func (c *FakeRkeV1) RKEControlPlanes(namespace string) v1.RKEControlPlaneInterface