Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMachineHealthChecks
- func (c *FakeMachineHealthChecks) Apply(ctx context.Context, ...) (result *v1beta1.MachineHealthCheck, err error)
- func (c *FakeMachineHealthChecks) ApplyStatus(ctx context.Context, ...) (result *v1beta1.MachineHealthCheck, err error)
- func (c *FakeMachineHealthChecks) Create(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, ...) (result *v1beta1.MachineHealthCheck, err error)
- func (c *FakeMachineHealthChecks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMachineHealthChecks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMachineHealthChecks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MachineHealthCheck, err error)
- func (c *FakeMachineHealthChecks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MachineHealthCheckList, err error)
- func (c *FakeMachineHealthChecks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MachineHealthCheck, err error)
- func (c *FakeMachineHealthChecks) Update(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, ...) (result *v1beta1.MachineHealthCheck, err error)
- func (c *FakeMachineHealthChecks) UpdateStatus(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, ...) (*v1beta1.MachineHealthCheck, error)
- func (c *FakeMachineHealthChecks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineSets
- func (c *FakeMachineSets) Apply(ctx context.Context, machineSet *machinev1beta1.MachineSetApplyConfiguration, ...) (result *v1beta1.MachineSet, err error)
- func (c *FakeMachineSets) ApplyStatus(ctx context.Context, machineSet *machinev1beta1.MachineSetApplyConfiguration, ...) (result *v1beta1.MachineSet, err error)
- func (c *FakeMachineSets) Create(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.CreateOptions) (result *v1beta1.MachineSet, err error)
- func (c *FakeMachineSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMachineSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMachineSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MachineSet, err error)
- func (c *FakeMachineSets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MachineSetList, err error)
- func (c *FakeMachineSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MachineSet, err error)
- func (c *FakeMachineSets) Update(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.UpdateOptions) (result *v1beta1.MachineSet, err error)
- func (c *FakeMachineSets) UpdateStatus(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.UpdateOptions) (*v1beta1.MachineSet, error)
- func (c *FakeMachineSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineV1beta1
- func (c *FakeMachineV1beta1) MachineHealthChecks(namespace string) v1beta1.MachineHealthCheckInterface
- func (c *FakeMachineV1beta1) MachineSets(namespace string) v1beta1.MachineSetInterface
- func (c *FakeMachineV1beta1) Machines(namespace string) v1beta1.MachineInterface
- func (c *FakeMachineV1beta1) RESTClient() rest.Interface
- type FakeMachines
- func (c *FakeMachines) Apply(ctx context.Context, machine *machinev1beta1.MachineApplyConfiguration, ...) (result *v1beta1.Machine, err error)
- func (c *FakeMachines) ApplyStatus(ctx context.Context, machine *machinev1beta1.MachineApplyConfiguration, ...) (result *v1beta1.Machine, err error)
- func (c *FakeMachines) Create(ctx context.Context, machine *v1beta1.Machine, opts v1.CreateOptions) (result *v1beta1.Machine, err error)
- func (c *FakeMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Machine, err error)
- func (c *FakeMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MachineList, err error)
- func (c *FakeMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Machine, err error)
- func (c *FakeMachines) Update(ctx context.Context, machine *v1beta1.Machine, opts v1.UpdateOptions) (result *v1beta1.Machine, err error)
- func (c *FakeMachines) UpdateStatus(ctx context.Context, machine *v1beta1.Machine, opts v1.UpdateOptions) (*v1beta1.Machine, error)
- func (c *FakeMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMachineHealthChecks ¶
type FakeMachineHealthChecks struct { Fake *FakeMachineV1beta1 // contains filtered or unexported fields }
FakeMachineHealthChecks implements MachineHealthCheckInterface
func (*FakeMachineHealthChecks) Apply ¶
func (c *FakeMachineHealthChecks) Apply(ctx context.Context, machineHealthCheck *machinev1beta1.MachineHealthCheckApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MachineHealthCheck, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied machineHealthCheck.
func (*FakeMachineHealthChecks) ApplyStatus ¶
func (c *FakeMachineHealthChecks) ApplyStatus(ctx context.Context, machineHealthCheck *machinev1beta1.MachineHealthCheckApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MachineHealthCheck, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeMachineHealthChecks) Create ¶
func (c *FakeMachineHealthChecks) Create(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, opts v1.CreateOptions) (result *v1beta1.MachineHealthCheck, err error)
Create takes the representation of a machineHealthCheck and creates it. Returns the server's representation of the machineHealthCheck, and an error, if there is any.
func (*FakeMachineHealthChecks) Delete ¶
func (c *FakeMachineHealthChecks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the machineHealthCheck and deletes it. Returns an error if one occurs.
func (*FakeMachineHealthChecks) DeleteCollection ¶
func (c *FakeMachineHealthChecks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMachineHealthChecks) Get ¶
func (c *FakeMachineHealthChecks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MachineHealthCheck, err error)
Get takes name of the machineHealthCheck, and returns the corresponding machineHealthCheck object, and an error if there is any.
func (*FakeMachineHealthChecks) List ¶
func (c *FakeMachineHealthChecks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MachineHealthCheckList, err error)
List takes label and field selectors, and returns the list of MachineHealthChecks that match those selectors.
func (*FakeMachineHealthChecks) Patch ¶
func (c *FakeMachineHealthChecks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MachineHealthCheck, err error)
Patch applies the patch and returns the patched machineHealthCheck.
func (*FakeMachineHealthChecks) Update ¶
func (c *FakeMachineHealthChecks) Update(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, opts v1.UpdateOptions) (result *v1beta1.MachineHealthCheck, err error)
Update takes the representation of a machineHealthCheck and updates it. Returns the server's representation of the machineHealthCheck, and an error, if there is any.
func (*FakeMachineHealthChecks) UpdateStatus ¶
func (c *FakeMachineHealthChecks) UpdateStatus(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, opts v1.UpdateOptions) (*v1beta1.MachineHealthCheck, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMachineHealthChecks) Watch ¶
func (c *FakeMachineHealthChecks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineHealthChecks.
type FakeMachineSets ¶
type FakeMachineSets struct { Fake *FakeMachineV1beta1 // contains filtered or unexported fields }
FakeMachineSets implements MachineSetInterface
func (*FakeMachineSets) Apply ¶
func (c *FakeMachineSets) Apply(ctx context.Context, machineSet *machinev1beta1.MachineSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MachineSet, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied machineSet.
func (*FakeMachineSets) ApplyStatus ¶
func (c *FakeMachineSets) ApplyStatus(ctx context.Context, machineSet *machinev1beta1.MachineSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MachineSet, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeMachineSets) Create ¶
func (c *FakeMachineSets) Create(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.MachineSet, err error)
Patch applies the patch and returns the patched machineSet.
func (*FakeMachineSets) Update ¶
func (c *FakeMachineSets) Update(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.UpdateOptions) (result *v1beta1.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(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.UpdateOptions) (*v1beta1.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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineSets.
type FakeMachineV1beta1 ¶
func (*FakeMachineV1beta1) MachineHealthChecks ¶
func (c *FakeMachineV1beta1) MachineHealthChecks(namespace string) v1beta1.MachineHealthCheckInterface
func (*FakeMachineV1beta1) MachineSets ¶
func (c *FakeMachineV1beta1) MachineSets(namespace string) v1beta1.MachineSetInterface
func (*FakeMachineV1beta1) Machines ¶
func (c *FakeMachineV1beta1) Machines(namespace string) v1beta1.MachineInterface
func (*FakeMachineV1beta1) RESTClient ¶
func (c *FakeMachineV1beta1) 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 *FakeMachineV1beta1 // contains filtered or unexported fields }
FakeMachines implements MachineInterface
func (*FakeMachines) Apply ¶
func (c *FakeMachines) Apply(ctx context.Context, machine *machinev1beta1.MachineApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Machine, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied machine.
func (*FakeMachines) ApplyStatus ¶
func (c *FakeMachines) ApplyStatus(ctx context.Context, machine *machinev1beta1.MachineApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Machine, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeMachines) Create ¶
func (c *FakeMachines) Create(ctx context.Context, machine *v1beta1.Machine, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.Machine, err error)
Patch applies the patch and returns the patched machine.
func (*FakeMachines) Update ¶
func (c *FakeMachines) Update(ctx context.Context, machine *v1beta1.Machine, opts v1.UpdateOptions) (result *v1beta1.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 *v1beta1.Machine, opts v1.UpdateOptions) (*v1beta1.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.