Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAWSMachineClasses
- func (c *FakeAWSMachineClasses) Create(aWSMachineClass *machine.AWSMachineClass) (result *machine.AWSMachineClass, err error)
- func (c *FakeAWSMachineClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAWSMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAWSMachineClasses) Get(name string, options v1.GetOptions) (result *machine.AWSMachineClass, err error)
- func (c *FakeAWSMachineClasses) List(opts v1.ListOptions) (result *machine.AWSMachineClassList, err error)
- func (c *FakeAWSMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.AWSMachineClass, err error)
- func (c *FakeAWSMachineClasses) Update(aWSMachineClass *machine.AWSMachineClass) (result *machine.AWSMachineClass, err error)
- func (c *FakeAWSMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAlicloudMachineClasses
- func (c *FakeAlicloudMachineClasses) Create(alicloudMachineClass *machine.AlicloudMachineClass) (result *machine.AlicloudMachineClass, err error)
- func (c *FakeAlicloudMachineClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAlicloudMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAlicloudMachineClasses) Get(name string, options v1.GetOptions) (result *machine.AlicloudMachineClass, err error)
- func (c *FakeAlicloudMachineClasses) List(opts v1.ListOptions) (result *machine.AlicloudMachineClassList, err error)
- func (c *FakeAlicloudMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.AlicloudMachineClass, err error)
- func (c *FakeAlicloudMachineClasses) Update(alicloudMachineClass *machine.AlicloudMachineClass) (result *machine.AlicloudMachineClass, err error)
- func (c *FakeAlicloudMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAzureMachineClasses
- func (c *FakeAzureMachineClasses) Create(azureMachineClass *machine.AzureMachineClass) (result *machine.AzureMachineClass, err error)
- func (c *FakeAzureMachineClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAzureMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAzureMachineClasses) Get(name string, options v1.GetOptions) (result *machine.AzureMachineClass, err error)
- func (c *FakeAzureMachineClasses) List(opts v1.ListOptions) (result *machine.AzureMachineClassList, err error)
- func (c *FakeAzureMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.AzureMachineClass, err error)
- func (c *FakeAzureMachineClasses) Update(azureMachineClass *machine.AzureMachineClass) (result *machine.AzureMachineClass, err error)
- func (c *FakeAzureMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGCPMachineClasses
- func (c *FakeGCPMachineClasses) Create(gCPMachineClass *machine.GCPMachineClass) (result *machine.GCPMachineClass, err error)
- func (c *FakeGCPMachineClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGCPMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGCPMachineClasses) Get(name string, options v1.GetOptions) (result *machine.GCPMachineClass, err error)
- func (c *FakeGCPMachineClasses) List(opts v1.ListOptions) (result *machine.GCPMachineClassList, err error)
- func (c *FakeGCPMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.GCPMachineClass, err error)
- func (c *FakeGCPMachineClasses) Update(gCPMachineClass *machine.GCPMachineClass) (result *machine.GCPMachineClass, err error)
- func (c *FakeGCPMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachine
- func (c *FakeMachine) AWSMachineClasses(namespace string) internalversion.AWSMachineClassInterface
- func (c *FakeMachine) AlicloudMachineClasses(namespace string) internalversion.AlicloudMachineClassInterface
- func (c *FakeMachine) AzureMachineClasses(namespace string) internalversion.AzureMachineClassInterface
- func (c *FakeMachine) GCPMachineClasses(namespace string) internalversion.GCPMachineClassInterface
- func (c *FakeMachine) MachineDeployments(namespace string) internalversion.MachineDeploymentInterface
- func (c *FakeMachine) MachineSets(namespace string) internalversion.MachineSetInterface
- func (c *FakeMachine) MachineTemplates(namespace string) internalversion.MachineTemplateInterface
- func (c *FakeMachine) Machines(namespace string) internalversion.MachineInterface
- func (c *FakeMachine) OpenStackMachineClasses(namespace string) internalversion.OpenStackMachineClassInterface
- func (c *FakeMachine) PacketMachineClasses(namespace string) internalversion.PacketMachineClassInterface
- func (c *FakeMachine) RESTClient() rest.Interface
- func (c *FakeMachine) Scales(namespace string) internalversion.ScaleInterface
- type FakeMachineDeployments
- func (c *FakeMachineDeployments) Create(machineDeployment *machine.MachineDeployment) (result *machine.MachineDeployment, err error)
- func (c *FakeMachineDeployments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMachineDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMachineDeployments) Get(name string, options v1.GetOptions) (result *machine.MachineDeployment, err error)
- func (c *FakeMachineDeployments) GetScale(machineDeploymentName string, options v1.GetOptions) (result *machine.Scale, err error)
- func (c *FakeMachineDeployments) List(opts v1.ListOptions) (result *machine.MachineDeploymentList, err error)
- func (c *FakeMachineDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.MachineDeployment, err error)
- func (c *FakeMachineDeployments) Update(machineDeployment *machine.MachineDeployment) (result *machine.MachineDeployment, err error)
- func (c *FakeMachineDeployments) UpdateScale(machineDeploymentName string, scale *machine.Scale) (result *machine.Scale, err error)
- func (c *FakeMachineDeployments) UpdateStatus(machineDeployment *machine.MachineDeployment) (*machine.MachineDeployment, error)
- func (c *FakeMachineDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineSets
- func (c *FakeMachineSets) Create(machineSet *machine.MachineSet) (result *machine.MachineSet, err error)
- func (c *FakeMachineSets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMachineSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMachineSets) Get(name string, options v1.GetOptions) (result *machine.MachineSet, err error)
- func (c *FakeMachineSets) List(opts v1.ListOptions) (result *machine.MachineSetList, err error)
- func (c *FakeMachineSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.MachineSet, err error)
- func (c *FakeMachineSets) Update(machineSet *machine.MachineSet) (result *machine.MachineSet, err error)
- func (c *FakeMachineSets) UpdateStatus(machineSet *machine.MachineSet) (*machine.MachineSet, error)
- func (c *FakeMachineSets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineTemplates
- func (c *FakeMachineTemplates) Create(machineTemplate *machine.MachineTemplate) (result *machine.MachineTemplate, err error)
- func (c *FakeMachineTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMachineTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMachineTemplates) Get(name string, options v1.GetOptions) (result *machine.MachineTemplate, err error)
- func (c *FakeMachineTemplates) List(opts v1.ListOptions) (result *machine.MachineTemplateList, err error)
- func (c *FakeMachineTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.MachineTemplate, err error)
- func (c *FakeMachineTemplates) Update(machineTemplate *machine.MachineTemplate) (result *machine.MachineTemplate, err error)
- func (c *FakeMachineTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachines
- func (c *FakeMachines) Create(machine *machine.Machine) (result *machine.Machine, err error)
- func (c *FakeMachines) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMachines) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMachines) Get(name string, options v1.GetOptions) (result *machine.Machine, err error)
- func (c *FakeMachines) List(opts v1.ListOptions) (result *machine.MachineList, err error)
- func (c *FakeMachines) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.Machine, err error)
- func (c *FakeMachines) Update(machine *machine.Machine) (result *machine.Machine, err error)
- func (c *FakeMachines) UpdateStatus(machine *machine.Machine) (*machine.Machine, error)
- func (c *FakeMachines) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOpenStackMachineClasses
- func (c *FakeOpenStackMachineClasses) Create(openStackMachineClass *machine.OpenStackMachineClass) (result *machine.OpenStackMachineClass, err error)
- func (c *FakeOpenStackMachineClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeOpenStackMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeOpenStackMachineClasses) Get(name string, options v1.GetOptions) (result *machine.OpenStackMachineClass, err error)
- func (c *FakeOpenStackMachineClasses) List(opts v1.ListOptions) (result *machine.OpenStackMachineClassList, err error)
- func (c *FakeOpenStackMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.OpenStackMachineClass, err error)
- func (c *FakeOpenStackMachineClasses) Update(openStackMachineClass *machine.OpenStackMachineClass) (result *machine.OpenStackMachineClass, err error)
- func (c *FakeOpenStackMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePacketMachineClasses
- func (c *FakePacketMachineClasses) Create(packetMachineClass *machine.PacketMachineClass) (result *machine.PacketMachineClass, err error)
- func (c *FakePacketMachineClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePacketMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePacketMachineClasses) Get(name string, options v1.GetOptions) (result *machine.PacketMachineClass, err error)
- func (c *FakePacketMachineClasses) List(opts v1.ListOptions) (result *machine.PacketMachineClassList, err error)
- func (c *FakePacketMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.PacketMachineClass, err error)
- func (c *FakePacketMachineClasses) Update(packetMachineClass *machine.PacketMachineClass) (result *machine.PacketMachineClass, err error)
- func (c *FakePacketMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeScales
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAWSMachineClasses ¶
type FakeAWSMachineClasses struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeAWSMachineClasses implements AWSMachineClassInterface
func (*FakeAWSMachineClasses) Create ¶
func (c *FakeAWSMachineClasses) Create(aWSMachineClass *machine.AWSMachineClass) (result *machine.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 ¶
func (c *FakeAWSMachineClasses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the aWSMachineClass and deletes it. Returns an error if one occurs.
func (*FakeAWSMachineClasses) DeleteCollection ¶
func (c *FakeAWSMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAWSMachineClasses) Get ¶
func (c *FakeAWSMachineClasses) Get(name string, options v1.GetOptions) (result *machine.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 ¶
func (c *FakeAWSMachineClasses) List(opts v1.ListOptions) (result *machine.AWSMachineClassList, err error)
List takes label and field selectors, and returns the list of AWSMachineClasses that match those selectors.
func (*FakeAWSMachineClasses) Patch ¶
func (c *FakeAWSMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.AWSMachineClass, err error)
Patch applies the patch and returns the patched aWSMachineClass.
func (*FakeAWSMachineClasses) Update ¶
func (c *FakeAWSMachineClasses) Update(aWSMachineClass *machine.AWSMachineClass) (result *machine.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 ¶
func (c *FakeAWSMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aWSMachineClasses.
type FakeAlicloudMachineClasses ¶
type FakeAlicloudMachineClasses struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeAlicloudMachineClasses implements AlicloudMachineClassInterface
func (*FakeAlicloudMachineClasses) Create ¶
func (c *FakeAlicloudMachineClasses) Create(alicloudMachineClass *machine.AlicloudMachineClass) (result *machine.AlicloudMachineClass, err error)
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 ¶
func (c *FakeAlicloudMachineClasses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the alicloudMachineClass and deletes it. Returns an error if one occurs.
func (*FakeAlicloudMachineClasses) DeleteCollection ¶
func (c *FakeAlicloudMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlicloudMachineClasses) Get ¶
func (c *FakeAlicloudMachineClasses) Get(name string, options v1.GetOptions) (result *machine.AlicloudMachineClass, err error)
Get takes name of the alicloudMachineClass, and returns the corresponding alicloudMachineClass object, and an error if there is any.
func (*FakeAlicloudMachineClasses) List ¶
func (c *FakeAlicloudMachineClasses) List(opts v1.ListOptions) (result *machine.AlicloudMachineClassList, err error)
List takes label and field selectors, and returns the list of AlicloudMachineClasses that match those selectors.
func (*FakeAlicloudMachineClasses) Patch ¶
func (c *FakeAlicloudMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.AlicloudMachineClass, err error)
Patch applies the patch and returns the patched alicloudMachineClass.
func (*FakeAlicloudMachineClasses) Update ¶
func (c *FakeAlicloudMachineClasses) Update(alicloudMachineClass *machine.AlicloudMachineClass) (result *machine.AlicloudMachineClass, err error)
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 ¶
func (c *FakeAlicloudMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alicloudMachineClasses.
type FakeAzureMachineClasses ¶
type FakeAzureMachineClasses struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeAzureMachineClasses implements AzureMachineClassInterface
func (*FakeAzureMachineClasses) Create ¶
func (c *FakeAzureMachineClasses) Create(azureMachineClass *machine.AzureMachineClass) (result *machine.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 ¶
func (c *FakeAzureMachineClasses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the azureMachineClass and deletes it. Returns an error if one occurs.
func (*FakeAzureMachineClasses) DeleteCollection ¶
func (c *FakeAzureMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAzureMachineClasses) Get ¶
func (c *FakeAzureMachineClasses) Get(name string, options v1.GetOptions) (result *machine.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 ¶
func (c *FakeAzureMachineClasses) List(opts v1.ListOptions) (result *machine.AzureMachineClassList, err error)
List takes label and field selectors, and returns the list of AzureMachineClasses that match those selectors.
func (*FakeAzureMachineClasses) Patch ¶
func (c *FakeAzureMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.AzureMachineClass, err error)
Patch applies the patch and returns the patched azureMachineClass.
func (*FakeAzureMachineClasses) Update ¶
func (c *FakeAzureMachineClasses) Update(azureMachineClass *machine.AzureMachineClass) (result *machine.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 ¶
func (c *FakeAzureMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested azureMachineClasses.
type FakeGCPMachineClasses ¶
type FakeGCPMachineClasses struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeGCPMachineClasses implements GCPMachineClassInterface
func (*FakeGCPMachineClasses) Create ¶
func (c *FakeGCPMachineClasses) Create(gCPMachineClass *machine.GCPMachineClass) (result *machine.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 ¶
func (c *FakeGCPMachineClasses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the gCPMachineClass and deletes it. Returns an error if one occurs.
func (*FakeGCPMachineClasses) DeleteCollection ¶
func (c *FakeGCPMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGCPMachineClasses) Get ¶
func (c *FakeGCPMachineClasses) Get(name string, options v1.GetOptions) (result *machine.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 ¶
func (c *FakeGCPMachineClasses) List(opts v1.ListOptions) (result *machine.GCPMachineClassList, err error)
List takes label and field selectors, and returns the list of GCPMachineClasses that match those selectors.
func (*FakeGCPMachineClasses) Patch ¶
func (c *FakeGCPMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.GCPMachineClass, err error)
Patch applies the patch and returns the patched gCPMachineClass.
func (*FakeGCPMachineClasses) Update ¶
func (c *FakeGCPMachineClasses) Update(gCPMachineClass *machine.GCPMachineClass) (result *machine.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 ¶
func (c *FakeGCPMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gCPMachineClasses.
type FakeMachine ¶
func (*FakeMachine) AWSMachineClasses ¶
func (c *FakeMachine) AWSMachineClasses(namespace string) internalversion.AWSMachineClassInterface
func (*FakeMachine) AlicloudMachineClasses ¶
func (c *FakeMachine) AlicloudMachineClasses(namespace string) internalversion.AlicloudMachineClassInterface
func (*FakeMachine) AzureMachineClasses ¶
func (c *FakeMachine) AzureMachineClasses(namespace string) internalversion.AzureMachineClassInterface
func (*FakeMachine) GCPMachineClasses ¶
func (c *FakeMachine) GCPMachineClasses(namespace string) internalversion.GCPMachineClassInterface
func (*FakeMachine) MachineDeployments ¶
func (c *FakeMachine) MachineDeployments(namespace string) internalversion.MachineDeploymentInterface
func (*FakeMachine) MachineSets ¶
func (c *FakeMachine) MachineSets(namespace string) internalversion.MachineSetInterface
func (*FakeMachine) MachineTemplates ¶
func (c *FakeMachine) MachineTemplates(namespace string) internalversion.MachineTemplateInterface
func (*FakeMachine) Machines ¶
func (c *FakeMachine) Machines(namespace string) internalversion.MachineInterface
func (*FakeMachine) OpenStackMachineClasses ¶
func (c *FakeMachine) OpenStackMachineClasses(namespace string) internalversion.OpenStackMachineClassInterface
func (*FakeMachine) PacketMachineClasses ¶
func (c *FakeMachine) PacketMachineClasses(namespace string) internalversion.PacketMachineClassInterface
func (*FakeMachine) RESTClient ¶
func (c *FakeMachine) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMachine) Scales ¶
func (c *FakeMachine) Scales(namespace string) internalversion.ScaleInterface
type FakeMachineDeployments ¶
type FakeMachineDeployments struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeMachineDeployments implements MachineDeploymentInterface
func (*FakeMachineDeployments) Create ¶
func (c *FakeMachineDeployments) Create(machineDeployment *machine.MachineDeployment) (result *machine.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMachineDeployments) Get ¶
func (c *FakeMachineDeployments) Get(name string, options v1.GetOptions) (result *machine.MachineDeployment, err error)
Get takes name of the machineDeployment, and returns the corresponding machineDeployment object, and an error if there is any.
func (*FakeMachineDeployments) GetScale ¶
func (c *FakeMachineDeployments) GetScale(machineDeploymentName string, options v1.GetOptions) (result *machine.Scale, err error)
GetScale takes name of the machineDeployment, and returns the corresponding scale object, and an error if there is any.
func (*FakeMachineDeployments) List ¶
func (c *FakeMachineDeployments) List(opts v1.ListOptions) (result *machine.MachineDeploymentList, err error)
List takes label and field selectors, and returns the list of MachineDeployments that match those selectors.
func (*FakeMachineDeployments) Patch ¶
func (c *FakeMachineDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.MachineDeployment, err error)
Patch applies the patch and returns the patched machineDeployment.
func (*FakeMachineDeployments) Update ¶
func (c *FakeMachineDeployments) Update(machineDeployment *machine.MachineDeployment) (result *machine.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(machineDeploymentName string, scale *machine.Scale) (result *machine.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 ¶
func (c *FakeMachineDeployments) UpdateStatus(machineDeployment *machine.MachineDeployment) (*machine.MachineDeployment, error)
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 ¶
func (c *FakeMachineDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineDeployments.
type FakeMachineSets ¶
type FakeMachineSets struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeMachineSets implements MachineSetInterface
func (*FakeMachineSets) Create ¶
func (c *FakeMachineSets) Create(machineSet *machine.MachineSet) (result *machine.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMachineSets) Get ¶
func (c *FakeMachineSets) Get(name string, options v1.GetOptions) (result *machine.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(opts v1.ListOptions) (result *machine.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.MachineSet, err error)
Patch applies the patch and returns the patched machineSet.
func (*FakeMachineSets) Update ¶
func (c *FakeMachineSets) Update(machineSet *machine.MachineSet) (result *machine.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) UpdateStatus ¶
func (c *FakeMachineSets) UpdateStatus(machineSet *machine.MachineSet) (*machine.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 ¶
func (c *FakeMachineSets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineSets.
type FakeMachineTemplates ¶
type FakeMachineTemplates struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeMachineTemplates implements MachineTemplateInterface
func (*FakeMachineTemplates) Create ¶
func (c *FakeMachineTemplates) Create(machineTemplate *machine.MachineTemplate) (result *machine.MachineTemplate, err error)
Create takes the representation of a machineTemplate and creates it. Returns the server's representation of the machineTemplate, and an error, if there is any.
func (*FakeMachineTemplates) Delete ¶
func (c *FakeMachineTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the machineTemplate and deletes it. Returns an error if one occurs.
func (*FakeMachineTemplates) DeleteCollection ¶
func (c *FakeMachineTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMachineTemplates) Get ¶
func (c *FakeMachineTemplates) Get(name string, options v1.GetOptions) (result *machine.MachineTemplate, err error)
Get takes name of the machineTemplate, and returns the corresponding machineTemplate object, and an error if there is any.
func (*FakeMachineTemplates) List ¶
func (c *FakeMachineTemplates) List(opts v1.ListOptions) (result *machine.MachineTemplateList, err error)
List takes label and field selectors, and returns the list of MachineTemplates that match those selectors.
func (*FakeMachineTemplates) Patch ¶
func (c *FakeMachineTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.MachineTemplate, err error)
Patch applies the patch and returns the patched machineTemplate.
func (*FakeMachineTemplates) Update ¶
func (c *FakeMachineTemplates) Update(machineTemplate *machine.MachineTemplate) (result *machine.MachineTemplate, err error)
Update takes the representation of a machineTemplate and updates it. Returns the server's representation of the machineTemplate, and an error, if there is any.
func (*FakeMachineTemplates) Watch ¶
func (c *FakeMachineTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineTemplates.
type FakeMachines ¶
type FakeMachines struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeMachines implements MachineInterface
func (*FakeMachines) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMachines) Get ¶
func (c *FakeMachines) Get(name string, options v1.GetOptions) (result *machine.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(opts v1.ListOptions) (result *machine.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.Machine, err error)
Patch applies the patch and returns the patched machine.
func (*FakeMachines) Update ¶
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 ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machines.
type FakeOpenStackMachineClasses ¶
type FakeOpenStackMachineClasses struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeOpenStackMachineClasses implements OpenStackMachineClassInterface
func (*FakeOpenStackMachineClasses) Create ¶
func (c *FakeOpenStackMachineClasses) Create(openStackMachineClass *machine.OpenStackMachineClass) (result *machine.OpenStackMachineClass, err error)
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 ¶
func (c *FakeOpenStackMachineClasses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the openStackMachineClass and deletes it. Returns an error if one occurs.
func (*FakeOpenStackMachineClasses) DeleteCollection ¶
func (c *FakeOpenStackMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOpenStackMachineClasses) Get ¶
func (c *FakeOpenStackMachineClasses) Get(name string, options v1.GetOptions) (result *machine.OpenStackMachineClass, err error)
Get takes name of the openStackMachineClass, and returns the corresponding openStackMachineClass object, and an error if there is any.
func (*FakeOpenStackMachineClasses) List ¶
func (c *FakeOpenStackMachineClasses) List(opts v1.ListOptions) (result *machine.OpenStackMachineClassList, err error)
List takes label and field selectors, and returns the list of OpenStackMachineClasses that match those selectors.
func (*FakeOpenStackMachineClasses) Patch ¶
func (c *FakeOpenStackMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.OpenStackMachineClass, err error)
Patch applies the patch and returns the patched openStackMachineClass.
func (*FakeOpenStackMachineClasses) Update ¶
func (c *FakeOpenStackMachineClasses) Update(openStackMachineClass *machine.OpenStackMachineClass) (result *machine.OpenStackMachineClass, err error)
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 ¶
func (c *FakeOpenStackMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested openStackMachineClasses.
type FakePacketMachineClasses ¶
type FakePacketMachineClasses struct { Fake *FakeMachine // contains filtered or unexported fields }
FakePacketMachineClasses implements PacketMachineClassInterface
func (*FakePacketMachineClasses) Create ¶
func (c *FakePacketMachineClasses) Create(packetMachineClass *machine.PacketMachineClass) (result *machine.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 ¶
func (c *FakePacketMachineClasses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the packetMachineClass and deletes it. Returns an error if one occurs.
func (*FakePacketMachineClasses) DeleteCollection ¶
func (c *FakePacketMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePacketMachineClasses) Get ¶
func (c *FakePacketMachineClasses) Get(name string, options v1.GetOptions) (result *machine.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 ¶
func (c *FakePacketMachineClasses) List(opts v1.ListOptions) (result *machine.PacketMachineClassList, err error)
List takes label and field selectors, and returns the list of PacketMachineClasses that match those selectors.
func (*FakePacketMachineClasses) Patch ¶
func (c *FakePacketMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *machine.PacketMachineClass, err error)
Patch applies the patch and returns the patched packetMachineClass.
func (*FakePacketMachineClasses) Update ¶
func (c *FakePacketMachineClasses) Update(packetMachineClass *machine.PacketMachineClass) (result *machine.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 ¶
func (c *FakePacketMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested packetMachineClasses.
type FakeScales ¶
type FakeScales struct { Fake *FakeMachine // contains filtered or unexported fields }
FakeScales implements ScaleInterface