fake

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0, BSD-3-Clause Imports: 11 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 FakeAWSMachineClasses added in v1.0.5

type FakeAWSMachineClasses struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakeAWSMachineClasses implements AWSMachineClassInterface

func (*FakeAWSMachineClasses) Create added in v1.0.5

func (c *FakeAWSMachineClasses) Create(ctx context.Context, aWSMachineClass *v1alpha1.AWSMachineClass, opts v1.CreateOptions) (result *v1alpha1.AWSMachineClass, err error)

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

func (*FakeAWSMachineClasses) Delete added in v1.0.5

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

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

func (*FakeAWSMachineClasses) DeleteCollection added in v1.0.5

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

DeleteCollection deletes a collection of objects.

func (*FakeAWSMachineClasses) Get added in v1.0.5

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

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

func (*FakeAWSMachineClasses) List added in v1.0.5

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

func (*FakeAWSMachineClasses) Patch added in v1.0.5

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

Patch applies the patch and returns the patched aWSMachineClass.

func (*FakeAWSMachineClasses) Update added in v1.0.5

func (c *FakeAWSMachineClasses) Update(ctx context.Context, aWSMachineClass *v1alpha1.AWSMachineClass, opts v1.UpdateOptions) (result *v1alpha1.AWSMachineClass, err error)

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

func (*FakeAWSMachineClasses) Watch added in v1.0.5

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

type FakeAlicloudMachineClasses added in v1.0.5

type FakeAlicloudMachineClasses struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakeAlicloudMachineClasses implements AlicloudMachineClassInterface

func (*FakeAlicloudMachineClasses) Create added in v1.0.5

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

func (*FakeAlicloudMachineClasses) Delete added in v1.0.5

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

func (*FakeAlicloudMachineClasses) DeleteCollection added in v1.0.5

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

DeleteCollection deletes a collection of objects.

func (*FakeAlicloudMachineClasses) Get added in v1.0.5

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

func (*FakeAlicloudMachineClasses) List added in v1.0.5

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

func (*FakeAlicloudMachineClasses) Patch added in v1.0.5

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

Patch applies the patch and returns the patched alicloudMachineClass.

func (*FakeAlicloudMachineClasses) Update added in v1.0.5

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

func (*FakeAlicloudMachineClasses) Watch added in v1.0.5

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

type FakeAzureMachineClasses added in v1.0.5

type FakeAzureMachineClasses struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakeAzureMachineClasses implements AzureMachineClassInterface

func (*FakeAzureMachineClasses) Create added in v1.0.5

func (c *FakeAzureMachineClasses) Create(ctx context.Context, azureMachineClass *v1alpha1.AzureMachineClass, opts v1.CreateOptions) (result *v1alpha1.AzureMachineClass, err error)

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

func (*FakeAzureMachineClasses) Delete added in v1.0.5

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

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

func (*FakeAzureMachineClasses) DeleteCollection added in v1.0.5

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

DeleteCollection deletes a collection of objects.

func (*FakeAzureMachineClasses) Get added in v1.0.5

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

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

func (*FakeAzureMachineClasses) List added in v1.0.5

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

func (*FakeAzureMachineClasses) Patch added in v1.0.5

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

Patch applies the patch and returns the patched azureMachineClass.

func (*FakeAzureMachineClasses) Update added in v1.0.5

func (c *FakeAzureMachineClasses) Update(ctx context.Context, azureMachineClass *v1alpha1.AzureMachineClass, opts v1.UpdateOptions) (result *v1alpha1.AzureMachineClass, err error)

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

func (*FakeAzureMachineClasses) Watch added in v1.0.5

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

type FakeGCPMachineClasses added in v1.0.5

type FakeGCPMachineClasses struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakeGCPMachineClasses implements GCPMachineClassInterface

func (*FakeGCPMachineClasses) Create added in v1.0.5

func (c *FakeGCPMachineClasses) Create(ctx context.Context, gCPMachineClass *v1alpha1.GCPMachineClass, opts v1.CreateOptions) (result *v1alpha1.GCPMachineClass, err error)

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

func (*FakeGCPMachineClasses) Delete added in v1.0.5

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

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

func (*FakeGCPMachineClasses) DeleteCollection added in v1.0.5

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

DeleteCollection deletes a collection of objects.

func (*FakeGCPMachineClasses) Get added in v1.0.5

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

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

func (*FakeGCPMachineClasses) List added in v1.0.5

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

func (*FakeGCPMachineClasses) Patch added in v1.0.5

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

Patch applies the patch and returns the patched gCPMachineClass.

func (*FakeGCPMachineClasses) Update added in v1.0.5

func (c *FakeGCPMachineClasses) Update(ctx context.Context, gCPMachineClass *v1alpha1.GCPMachineClass, opts v1.UpdateOptions) (result *v1alpha1.GCPMachineClass, err error)

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

func (*FakeGCPMachineClasses) Watch added in v1.0.5

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

type FakeMachineClasses

type FakeMachineClasses struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakeMachineClasses implements MachineClassInterface

func (*FakeMachineClasses) Create

func (c *FakeMachineClasses) Create(ctx context.Context, machineClass *v1alpha1.MachineClass, opts v1.CreateOptions) (result *v1alpha1.MachineClass, err error)

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

func (*FakeMachineClasses) Delete

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

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

func (*FakeMachineClasses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMachineClasses) Get

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

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

func (*FakeMachineClasses) List

func (c *FakeMachineClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MachineClassList, err error)

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

func (*FakeMachineClasses) Patch

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

Patch applies the patch and returns the patched machineClass.

func (*FakeMachineClasses) Update

func (c *FakeMachineClasses) Update(ctx context.Context, machineClass *v1alpha1.MachineClass, opts v1.UpdateOptions) (result *v1alpha1.MachineClass, err error)

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

func (*FakeMachineClasses) Watch

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

type FakeMachineDeployments

type FakeMachineDeployments struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakeMachineDeployments implements MachineDeploymentInterface

func (*FakeMachineDeployments) Create

func (c *FakeMachineDeployments) Create(ctx context.Context, machineDeployment *v1alpha1.MachineDeployment, opts v1.CreateOptions) (result *v1alpha1.MachineDeployment, err error)

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

func (*FakeMachineDeployments) Delete

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

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

func (*FakeMachineDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMachineDeployments) Get

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

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

func (*FakeMachineDeployments) List

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

func (*FakeMachineDeployments) Patch

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

Patch applies the patch and returns the patched machineDeployment.

func (*FakeMachineDeployments) Update

func (c *FakeMachineDeployments) Update(ctx context.Context, machineDeployment *v1alpha1.MachineDeployment, opts v1.UpdateOptions) (result *v1alpha1.MachineDeployment, err error)

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

func (*FakeMachineDeployments) UpdateScale

func (c *FakeMachineDeployments) UpdateScale(ctx context.Context, machineDeploymentName string, scale *autoscalingv1.Scale, opts v1.UpdateOptions) (result *autoscalingv1.Scale, err error)

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

func (*FakeMachineDeployments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeMachineDeployments) Watch

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

type FakeMachineSets

type FakeMachineSets struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakeMachineSets implements MachineSetInterface

func (*FakeMachineSets) Create

func (c *FakeMachineSets) Create(ctx context.Context, machineSet *v1alpha1.MachineSet, opts v1.CreateOptions) (result *v1alpha1.MachineSet, err error)

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

func (*FakeMachineSets) Delete

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

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

func (*FakeMachineSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMachineSets) Get

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

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

func (*FakeMachineSets) List

func (c *FakeMachineSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MachineSetList, err error)

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

func (*FakeMachineSets) Patch

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

Patch applies the patch and returns the patched machineSet.

func (*FakeMachineSets) Update

func (c *FakeMachineSets) Update(ctx context.Context, machineSet *v1alpha1.MachineSet, opts v1.UpdateOptions) (result *v1alpha1.MachineSet, err error)

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

func (*FakeMachineSets) UpdateScale

func (c *FakeMachineSets) UpdateScale(ctx context.Context, machineSetName string, scale *autoscalingv1.Scale, opts v1.UpdateOptions) (result *autoscalingv1.Scale, err error)

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

func (*FakeMachineSets) UpdateStatus

func (c *FakeMachineSets) UpdateStatus(ctx context.Context, machineSet *v1alpha1.MachineSet, opts v1.UpdateOptions) (*v1alpha1.MachineSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeMachineSets) Watch

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

type FakeMachineV1alpha1

type FakeMachineV1alpha1 struct {
	*testing.Fake
}

func (*FakeMachineV1alpha1) AWSMachineClasses added in v1.0.5

func (c *FakeMachineV1alpha1) AWSMachineClasses(namespace string) v1alpha1.AWSMachineClassInterface

func (*FakeMachineV1alpha1) AlicloudMachineClasses added in v1.0.5

func (c *FakeMachineV1alpha1) AlicloudMachineClasses(namespace string) v1alpha1.AlicloudMachineClassInterface

func (*FakeMachineV1alpha1) AzureMachineClasses added in v1.0.5

func (c *FakeMachineV1alpha1) AzureMachineClasses(namespace string) v1alpha1.AzureMachineClassInterface

func (*FakeMachineV1alpha1) GCPMachineClasses added in v1.0.5

func (c *FakeMachineV1alpha1) GCPMachineClasses(namespace string) v1alpha1.GCPMachineClassInterface

func (*FakeMachineV1alpha1) MachineClasses

func (c *FakeMachineV1alpha1) MachineClasses(namespace string) v1alpha1.MachineClassInterface

func (*FakeMachineV1alpha1) MachineDeployments

func (c *FakeMachineV1alpha1) MachineDeployments(namespace string) v1alpha1.MachineDeploymentInterface

func (*FakeMachineV1alpha1) MachineSets

func (c *FakeMachineV1alpha1) MachineSets(namespace string) v1alpha1.MachineSetInterface

func (*FakeMachineV1alpha1) Machines

func (c *FakeMachineV1alpha1) Machines(namespace string) v1alpha1.MachineInterface

func (*FakeMachineV1alpha1) OpenStackMachineClasses added in v1.0.5

func (c *FakeMachineV1alpha1) OpenStackMachineClasses(namespace string) v1alpha1.OpenStackMachineClassInterface

func (*FakeMachineV1alpha1) PacketMachineClasses added in v1.0.5

func (c *FakeMachineV1alpha1) PacketMachineClasses(namespace string) v1alpha1.PacketMachineClassInterface

func (*FakeMachineV1alpha1) RESTClient

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

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

type FakeMachines

type FakeMachines struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakeMachines implements MachineInterface

func (*FakeMachines) Create

func (c *FakeMachines) Create(ctx context.Context, machine *v1alpha1.Machine, opts v1.CreateOptions) (result *v1alpha1.Machine, err error)

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

func (*FakeMachines) Delete

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

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

func (*FakeMachines) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMachines) Get

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

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

func (*FakeMachines) List

func (c *FakeMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MachineList, err error)

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

func (*FakeMachines) Patch

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

Patch applies the patch and returns the patched machine.

func (*FakeMachines) Update

func (c *FakeMachines) Update(ctx context.Context, machine *v1alpha1.Machine, opts v1.UpdateOptions) (result *v1alpha1.Machine, err error)

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

func (*FakeMachines) UpdateStatus

func (c *FakeMachines) UpdateStatus(ctx context.Context, machine *v1alpha1.Machine, opts v1.UpdateOptions) (*v1alpha1.Machine, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeMachines) Watch

func (c *FakeMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeOpenStackMachineClasses added in v1.0.5

type FakeOpenStackMachineClasses struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakeOpenStackMachineClasses implements OpenStackMachineClassInterface

func (*FakeOpenStackMachineClasses) Create added in v1.0.5

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

func (*FakeOpenStackMachineClasses) Delete added in v1.0.5

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

func (*FakeOpenStackMachineClasses) DeleteCollection added in v1.0.5

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

DeleteCollection deletes a collection of objects.

func (*FakeOpenStackMachineClasses) Get added in v1.0.5

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

func (*FakeOpenStackMachineClasses) List added in v1.0.5

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

func (*FakeOpenStackMachineClasses) Patch added in v1.0.5

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

Patch applies the patch and returns the patched openStackMachineClass.

func (*FakeOpenStackMachineClasses) Update added in v1.0.5

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

func (*FakeOpenStackMachineClasses) Watch added in v1.0.5

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

type FakePacketMachineClasses added in v1.0.5

type FakePacketMachineClasses struct {
	Fake *FakeMachineV1alpha1
	// contains filtered or unexported fields
}

FakePacketMachineClasses implements PacketMachineClassInterface

func (*FakePacketMachineClasses) Create added in v1.0.5

func (c *FakePacketMachineClasses) Create(ctx context.Context, packetMachineClass *v1alpha1.PacketMachineClass, opts v1.CreateOptions) (result *v1alpha1.PacketMachineClass, err error)

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

func (*FakePacketMachineClasses) Delete added in v1.0.5

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

func (*FakePacketMachineClasses) DeleteCollection added in v1.0.5

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

DeleteCollection deletes a collection of objects.

func (*FakePacketMachineClasses) Get added in v1.0.5

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

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

func (*FakePacketMachineClasses) List added in v1.0.5

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

func (*FakePacketMachineClasses) Patch added in v1.0.5

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

Patch applies the patch and returns the patched packetMachineClass.

func (*FakePacketMachineClasses) Update added in v1.0.5

func (c *FakePacketMachineClasses) Update(ctx context.Context, packetMachineClass *v1alpha1.PacketMachineClass, opts v1.UpdateOptions) (result *v1alpha1.PacketMachineClass, err error)

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

func (*FakePacketMachineClasses) Watch added in v1.0.5

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

Jump to

Keyboard shortcuts

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