Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCluster
- func (c *FakeCluster) Clusters(namespace string) internalversion.ClusterInterface
- func (c *FakeCluster) MachineClasses(namespace string) internalversion.MachineClassInterface
- func (c *FakeCluster) MachineDeployments(namespace string) internalversion.MachineDeploymentInterface
- func (c *FakeCluster) MachineSets(namespace string) internalversion.MachineSetInterface
- func (c *FakeCluster) Machines(namespace string) internalversion.MachineInterface
- func (c *FakeCluster) RESTClient() rest.Interface
- type FakeClusters
- func (c *FakeClusters) Create(cluster *cluster.Cluster) (result *cluster.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 *cluster.Cluster, err error)
- func (c *FakeClusters) List(opts v1.ListOptions) (result *cluster.ClusterList, err error)
- func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cluster.Cluster, err error)
- func (c *FakeClusters) Update(cluster *cluster.Cluster) (result *cluster.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(cluster *cluster.Cluster) (*cluster.Cluster, error)
- func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineClasses
- func (c *FakeMachineClasses) Create(machineClass *cluster.MachineClass) (result *cluster.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 *cluster.MachineClass, err error)
- func (c *FakeMachineClasses) List(opts v1.ListOptions) (result *cluster.MachineClassList, err error)
- func (c *FakeMachineClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cluster.MachineClass, err error)
- func (c *FakeMachineClasses) Update(machineClass *cluster.MachineClass) (result *cluster.MachineClass, err error)
- func (c *FakeMachineClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineDeployments
- func (c *FakeMachineDeployments) Create(machineDeployment *cluster.MachineDeployment) (result *cluster.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 *cluster.MachineDeployment, err error)
- func (c *FakeMachineDeployments) List(opts v1.ListOptions) (result *cluster.MachineDeploymentList, err error)
- func (c *FakeMachineDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cluster.MachineDeployment, err error)
- func (c *FakeMachineDeployments) Update(machineDeployment *cluster.MachineDeployment) (result *cluster.MachineDeployment, err error)
- func (c *FakeMachineDeployments) UpdateStatus(machineDeployment *cluster.MachineDeployment) (*cluster.MachineDeployment, error)
- func (c *FakeMachineDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineSets
- func (c *FakeMachineSets) Create(machineSet *cluster.MachineSet) (result *cluster.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 *cluster.MachineSet, err error)
- func (c *FakeMachineSets) List(opts v1.ListOptions) (result *cluster.MachineSetList, err error)
- func (c *FakeMachineSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cluster.MachineSet, err error)
- func (c *FakeMachineSets) Update(machineSet *cluster.MachineSet) (result *cluster.MachineSet, err error)
- func (c *FakeMachineSets) UpdateStatus(machineSet *cluster.MachineSet) (*cluster.MachineSet, error)
- func (c *FakeMachineSets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMachines
- func (c *FakeMachines) Create(machine *cluster.Machine) (result *cluster.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 *cluster.Machine, err error)
- func (c *FakeMachines) List(opts v1.ListOptions) (result *cluster.MachineList, err error)
- func (c *FakeMachines) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cluster.Machine, err error)
- func (c *FakeMachines) Update(machine *cluster.Machine) (result *cluster.Machine, err error)
- func (c *FakeMachines) UpdateStatus(machine *cluster.Machine) (*cluster.Machine, error)
- func (c *FakeMachines) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCluster ¶
func (*FakeCluster) Clusters ¶
func (c *FakeCluster) Clusters(namespace string) internalversion.ClusterInterface
func (*FakeCluster) MachineClasses ¶
func (c *FakeCluster) MachineClasses(namespace string) internalversion.MachineClassInterface
func (*FakeCluster) MachineDeployments ¶
func (c *FakeCluster) MachineDeployments(namespace string) internalversion.MachineDeploymentInterface
func (*FakeCluster) MachineSets ¶
func (c *FakeCluster) MachineSets(namespace string) internalversion.MachineSetInterface
func (*FakeCluster) Machines ¶
func (c *FakeCluster) Machines(namespace string) internalversion.MachineInterface
func (*FakeCluster) RESTClient ¶
func (c *FakeCluster) 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 *FakeCluster // 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 *cluster.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 *cluster.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 *cluster.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 FakeMachineClasses ¶
type FakeMachineClasses struct { Fake *FakeCluster // contains filtered or unexported fields }
FakeMachineClasses implements MachineClassInterface
func (*FakeMachineClasses) Create ¶
func (c *FakeMachineClasses) Create(machineClass *cluster.MachineClass) (result *cluster.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 *cluster.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 *cluster.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 *cluster.MachineClass, err error)
Patch applies the patch and returns the patched machineClass.
func (*FakeMachineClasses) Update ¶
func (c *FakeMachineClasses) Update(machineClass *cluster.MachineClass) (result *cluster.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 *FakeCluster // contains filtered or unexported fields }
FakeMachineDeployments implements MachineDeploymentInterface
func (*FakeMachineDeployments) Create ¶
func (c *FakeMachineDeployments) Create(machineDeployment *cluster.MachineDeployment) (result *cluster.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 *cluster.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 *cluster.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 *cluster.MachineDeployment, err error)
Patch applies the patch and returns the patched machineDeployment.
func (*FakeMachineDeployments) Update ¶
func (c *FakeMachineDeployments) Update(machineDeployment *cluster.MachineDeployment) (result *cluster.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 *cluster.MachineDeployment) (*cluster.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 *FakeCluster // contains filtered or unexported fields }
FakeMachineSets implements MachineSetInterface
func (*FakeMachineSets) Create ¶
func (c *FakeMachineSets) Create(machineSet *cluster.MachineSet) (result *cluster.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 *cluster.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 *cluster.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 *cluster.MachineSet, err error)
Patch applies the patch and returns the patched machineSet.
func (*FakeMachineSets) Update ¶
func (c *FakeMachineSets) Update(machineSet *cluster.MachineSet) (result *cluster.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 *cluster.MachineSet) (*cluster.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 *FakeCluster // 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 *cluster.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 *cluster.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 *cluster.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.