Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAWSMachineClasses
- func (c *FakeAWSMachineClasses) Create(aWSMachineClass *v1alpha1.AWSMachineClass) (result *v1alpha1.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 *v1alpha1.AWSMachineClass, err error)
- func (c *FakeAWSMachineClasses) List(opts v1.ListOptions) (result *v1alpha1.AWSMachineClassList, err error)
- func (c *FakeAWSMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AWSMachineClass, err error)
- func (c *FakeAWSMachineClasses) Update(aWSMachineClass *v1alpha1.AWSMachineClass) (result *v1alpha1.AWSMachineClass, err error)
- func (c *FakeAWSMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAzureMachineClasses
- func (c *FakeAzureMachineClasses) Create(azureMachineClass *v1alpha1.AzureMachineClass) (result *v1alpha1.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 *v1alpha1.AzureMachineClass, err error)
- func (c *FakeAzureMachineClasses) List(opts v1.ListOptions) (result *v1alpha1.AzureMachineClassList, err error)
- func (c *FakeAzureMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AzureMachineClass, err error)
- func (c *FakeAzureMachineClasses) Update(azureMachineClass *v1alpha1.AzureMachineClass) (result *v1alpha1.AzureMachineClass, err error)
- func (c *FakeAzureMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterV1alpha1
- func (c *FakeClusterV1alpha1) AWSMachineClasses(namespace string) v1alpha1.AWSMachineClassInterface
- func (c *FakeClusterV1alpha1) AzureMachineClasses(namespace string) v1alpha1.AzureMachineClassInterface
- func (c *FakeClusterV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
- func (c *FakeClusterV1alpha1) GCPMachineClasses(namespace string) v1alpha1.GCPMachineClassInterface
- func (c *FakeClusterV1alpha1) MachineClasses(namespace string) v1alpha1.MachineClassInterface
- func (c *FakeClusterV1alpha1) MachineDeployments(namespace string) v1alpha1.MachineDeploymentInterface
- func (c *FakeClusterV1alpha1) MachineSets(namespace string) v1alpha1.MachineSetInterface
- func (c *FakeClusterV1alpha1) Machines(namespace string) v1alpha1.MachineInterface
- func (c *FakeClusterV1alpha1) OpenStackMachineClasses(namespace string) v1alpha1.OpenStackMachineClassInterface
- func (c *FakeClusterV1alpha1) RESTClient() rest.Interface
- type FakeClusters
- func (c *FakeClusters) Create(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
- func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Update(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(cluster *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGCPMachineClasses
- func (c *FakeGCPMachineClasses) Create(gCPMachineClass *v1alpha1.GCPMachineClass) (result *v1alpha1.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 *v1alpha1.GCPMachineClass, err error)
- func (c *FakeGCPMachineClasses) List(opts v1.ListOptions) (result *v1alpha1.GCPMachineClassList, err error)
- func (c *FakeGCPMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GCPMachineClass, err error)
- func (c *FakeGCPMachineClasses) Update(gCPMachineClass *v1alpha1.GCPMachineClass) (result *v1alpha1.GCPMachineClass, err error)
- func (c *FakeGCPMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineClasses
- func (c *FakeMachineClasses) Create(machineClass *v1alpha1.MachineClass) (result *v1alpha1.MachineClass, err error)
- func (c *FakeMachineClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMachineClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMachineClasses) Get(name string, options v1.GetOptions) (result *v1alpha1.MachineClass, err error)
- func (c *FakeMachineClasses) List(opts v1.ListOptions) (result *v1alpha1.MachineClassList, err error)
- func (c *FakeMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MachineClass, err error)
- func (c *FakeMachineClasses) Update(machineClass *v1alpha1.MachineClass) (result *v1alpha1.MachineClass, err error)
- func (c *FakeMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineDeployments
- func (c *FakeMachineDeployments) Create(machineDeployment *v1alpha1.MachineDeployment) (result *v1alpha1.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 *v1alpha1.MachineDeployment, err error)
- func (c *FakeMachineDeployments) List(opts v1.ListOptions) (result *v1alpha1.MachineDeploymentList, err error)
- func (c *FakeMachineDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MachineDeployment, err error)
- func (c *FakeMachineDeployments) Update(machineDeployment *v1alpha1.MachineDeployment) (result *v1alpha1.MachineDeployment, err error)
- func (c *FakeMachineDeployments) UpdateStatus(machineDeployment *v1alpha1.MachineDeployment) (*v1alpha1.MachineDeployment, error)
- func (c *FakeMachineDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineSets
- func (c *FakeMachineSets) Create(machineSet *v1alpha1.MachineSet) (result *v1alpha1.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 *v1alpha1.MachineSet, err error)
- func (c *FakeMachineSets) List(opts v1.ListOptions) (result *v1alpha1.MachineSetList, err error)
- func (c *FakeMachineSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MachineSet, err error)
- func (c *FakeMachineSets) Update(machineSet *v1alpha1.MachineSet) (result *v1alpha1.MachineSet, err error)
- func (c *FakeMachineSets) UpdateStatus(machineSet *v1alpha1.MachineSet) (*v1alpha1.MachineSet, error)
- func (c *FakeMachineSets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachines
- func (c *FakeMachines) Create(machine *v1alpha1.Machine) (result *v1alpha1.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 *v1alpha1.Machine, err error)
- func (c *FakeMachines) List(opts v1.ListOptions) (result *v1alpha1.MachineList, err error)
- func (c *FakeMachines) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Machine, err error)
- func (c *FakeMachines) Update(machine *v1alpha1.Machine) (result *v1alpha1.Machine, err error)
- func (c *FakeMachines) UpdateStatus(machine *v1alpha1.Machine) (*v1alpha1.Machine, error)
- func (c *FakeMachines) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOpenStackMachineClasses
- func (c *FakeOpenStackMachineClasses) Create(openStackMachineClass *v1alpha1.OpenStackMachineClass) (result *v1alpha1.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 *v1alpha1.OpenStackMachineClass, err error)
- func (c *FakeOpenStackMachineClasses) List(opts v1.ListOptions) (result *v1alpha1.OpenStackMachineClassList, err error)
- func (c *FakeOpenStackMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.OpenStackMachineClass, err error)
- func (c *FakeOpenStackMachineClasses) Update(openStackMachineClass *v1alpha1.OpenStackMachineClass) (result *v1alpha1.OpenStackMachineClass, err error)
- func (c *FakeOpenStackMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAWSMachineClasses ¶
type FakeAWSMachineClasses struct { Fake *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeAWSMachineClasses implements AWSMachineClassInterface
func (*FakeAWSMachineClasses) Create ¶
func (c *FakeAWSMachineClasses) Create(aWSMachineClass *v1alpha1.AWSMachineClass) (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 ¶
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 *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 ¶
func (c *FakeAWSMachineClasses) List(opts v1.ListOptions) (result *v1alpha1.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 *v1alpha1.AWSMachineClass, err error)
Patch applies the patch and returns the patched aWSMachineClass.
func (*FakeAWSMachineClasses) Update ¶
func (c *FakeAWSMachineClasses) Update(aWSMachineClass *v1alpha1.AWSMachineClass) (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 ¶
func (c *FakeAWSMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aWSMachineClasses.
type FakeAzureMachineClasses ¶
type FakeAzureMachineClasses struct { Fake *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeAzureMachineClasses implements AzureMachineClassInterface
func (*FakeAzureMachineClasses) Create ¶
func (c *FakeAzureMachineClasses) Create(azureMachineClass *v1alpha1.AzureMachineClass) (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 ¶
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 *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 ¶
func (c *FakeAzureMachineClasses) List(opts v1.ListOptions) (result *v1alpha1.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 *v1alpha1.AzureMachineClass, err error)
Patch applies the patch and returns the patched azureMachineClass.
func (*FakeAzureMachineClasses) Update ¶
func (c *FakeAzureMachineClasses) Update(azureMachineClass *v1alpha1.AzureMachineClass) (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 ¶
func (c *FakeAzureMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested azureMachineClasses.
type FakeClusterV1alpha1 ¶
func (*FakeClusterV1alpha1) AWSMachineClasses ¶
func (c *FakeClusterV1alpha1) AWSMachineClasses(namespace string) v1alpha1.AWSMachineClassInterface
func (*FakeClusterV1alpha1) AzureMachineClasses ¶
func (c *FakeClusterV1alpha1) AzureMachineClasses(namespace string) v1alpha1.AzureMachineClassInterface
func (*FakeClusterV1alpha1) Clusters ¶
func (c *FakeClusterV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
func (*FakeClusterV1alpha1) GCPMachineClasses ¶
func (c *FakeClusterV1alpha1) GCPMachineClasses(namespace string) v1alpha1.GCPMachineClassInterface
func (*FakeClusterV1alpha1) MachineClasses ¶
func (c *FakeClusterV1alpha1) MachineClasses(namespace string) v1alpha1.MachineClassInterface
func (*FakeClusterV1alpha1) MachineDeployments ¶
func (c *FakeClusterV1alpha1) MachineDeployments(namespace string) v1alpha1.MachineDeploymentInterface
func (*FakeClusterV1alpha1) MachineSets ¶
func (c *FakeClusterV1alpha1) MachineSets(namespace string) v1alpha1.MachineSetInterface
func (*FakeClusterV1alpha1) Machines ¶
func (c *FakeClusterV1alpha1) Machines(namespace string) v1alpha1.MachineInterface
func (*FakeClusterV1alpha1) OpenStackMachineClasses ¶
func (c *FakeClusterV1alpha1) OpenStackMachineClasses(namespace string) v1alpha1.OpenStackMachineClassInterface
func (*FakeClusterV1alpha1) RESTClient ¶
func (c *FakeClusterV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeClusters ¶
type FakeClusters struct { Fake *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeGCPMachineClasses ¶
type FakeGCPMachineClasses struct { Fake *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeGCPMachineClasses implements GCPMachineClassInterface
func (*FakeGCPMachineClasses) Create ¶
func (c *FakeGCPMachineClasses) Create(gCPMachineClass *v1alpha1.GCPMachineClass) (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 ¶
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 *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 ¶
func (c *FakeGCPMachineClasses) List(opts v1.ListOptions) (result *v1alpha1.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 *v1alpha1.GCPMachineClass, err error)
Patch applies the patch and returns the patched gCPMachineClass.
func (*FakeGCPMachineClasses) Update ¶
func (c *FakeGCPMachineClasses) Update(gCPMachineClass *v1alpha1.GCPMachineClass) (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 ¶
func (c *FakeGCPMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gCPMachineClasses.
type FakeMachineClasses ¶
type FakeMachineClasses struct { Fake *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeMachineClasses implements MachineClassInterface
func (*FakeMachineClasses) Create ¶
func (c *FakeMachineClasses) Create(machineClass *v1alpha1.MachineClass) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMachineClasses) Get ¶
func (c *FakeMachineClasses) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MachineClass, err error)
Patch applies the patch and returns the patched machineClass.
func (*FakeMachineClasses) Update ¶
func (c *FakeMachineClasses) Update(machineClass *v1alpha1.MachineClass) (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 ¶
func (c *FakeMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineClasses.
type FakeMachineDeployments ¶
type FakeMachineDeployments struct { Fake *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeMachineDeployments implements MachineDeploymentInterface
func (*FakeMachineDeployments) Create ¶
func (c *FakeMachineDeployments) Create(machineDeployment *v1alpha1.MachineDeployment) (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(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 *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 ¶
func (c *FakeMachineDeployments) List(opts v1.ListOptions) (result *v1alpha1.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 *v1alpha1.MachineDeployment, err error)
Patch applies the patch and returns the patched machineDeployment.
func (*FakeMachineDeployments) Update ¶
func (c *FakeMachineDeployments) Update(machineDeployment *v1alpha1.MachineDeployment) (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) UpdateStatus ¶
func (c *FakeMachineDeployments) UpdateStatus(machineDeployment *v1alpha1.MachineDeployment) (*v1alpha1.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 *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeMachineSets implements MachineSetInterface
func (*FakeMachineSets) Create ¶
func (c *FakeMachineSets) Create(machineSet *v1alpha1.MachineSet) (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(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 *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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MachineSet, err error)
Patch applies the patch and returns the patched machineSet.
func (*FakeMachineSets) Update ¶
func (c *FakeMachineSets) Update(machineSet *v1alpha1.MachineSet) (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) UpdateStatus ¶
func (c *FakeMachineSets) UpdateStatus(machineSet *v1alpha1.MachineSet) (*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 ¶
func (c *FakeMachineSets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineSets.
type FakeMachines ¶
type FakeMachines struct { Fake *FakeClusterV1alpha1 // 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 *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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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 *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeOpenStackMachineClasses implements OpenStackMachineClassInterface
func (*FakeOpenStackMachineClasses) Create ¶
func (c *FakeOpenStackMachineClasses) Create(openStackMachineClass *v1alpha1.OpenStackMachineClass) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.OpenStackMachineClass, err error)
Patch applies the patch and returns the patched openStackMachineClass.
func (*FakeOpenStackMachineClasses) Update ¶
func (c *FakeOpenStackMachineClasses) Update(openStackMachineClass *v1alpha1.OpenStackMachineClass) (result *v1alpha1.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.