Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDevtestV1alpha1
- func (c *FakeDevtestV1alpha1) GlobalVmShutdownSchedules(namespace string) v1alpha1.GlobalVmShutdownScheduleInterface
- func (c *FakeDevtestV1alpha1) Labs(namespace string) v1alpha1.LabInterface
- func (c *FakeDevtestV1alpha1) LinuxVirtualMachines(namespace string) v1alpha1.LinuxVirtualMachineInterface
- func (c *FakeDevtestV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
- func (c *FakeDevtestV1alpha1) RESTClient() rest.Interface
- func (c *FakeDevtestV1alpha1) Schedules(namespace string) v1alpha1.ScheduleInterface
- func (c *FakeDevtestV1alpha1) VirtualNetworks(namespace string) v1alpha1.VirtualNetworkInterface
- func (c *FakeDevtestV1alpha1) WindowsVirtualMachines(namespace string) v1alpha1.WindowsVirtualMachineInterface
- type FakeGlobalVmShutdownSchedules
- func (c *FakeGlobalVmShutdownSchedules) Create(ctx context.Context, ...) (result *v1alpha1.GlobalVmShutdownSchedule, err error)
- func (c *FakeGlobalVmShutdownSchedules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGlobalVmShutdownSchedules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGlobalVmShutdownSchedules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GlobalVmShutdownSchedule, err error)
- func (c *FakeGlobalVmShutdownSchedules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GlobalVmShutdownScheduleList, err error)
- func (c *FakeGlobalVmShutdownSchedules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GlobalVmShutdownSchedule, err error)
- func (c *FakeGlobalVmShutdownSchedules) Update(ctx context.Context, ...) (result *v1alpha1.GlobalVmShutdownSchedule, err error)
- func (c *FakeGlobalVmShutdownSchedules) UpdateStatus(ctx context.Context, ...) (*v1alpha1.GlobalVmShutdownSchedule, error)
- func (c *FakeGlobalVmShutdownSchedules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLabs
- func (c *FakeLabs) Create(ctx context.Context, lab *v1alpha1.Lab, opts v1.CreateOptions) (result *v1alpha1.Lab, err error)
- func (c *FakeLabs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLabs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLabs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Lab, err error)
- func (c *FakeLabs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LabList, err error)
- func (c *FakeLabs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Lab, err error)
- func (c *FakeLabs) Update(ctx context.Context, lab *v1alpha1.Lab, opts v1.UpdateOptions) (result *v1alpha1.Lab, err error)
- func (c *FakeLabs) UpdateStatus(ctx context.Context, lab *v1alpha1.Lab, opts v1.UpdateOptions) (*v1alpha1.Lab, error)
- func (c *FakeLabs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLinuxVirtualMachines
- func (c *FakeLinuxVirtualMachines) Create(ctx context.Context, linuxVirtualMachine *v1alpha1.LinuxVirtualMachine, ...) (result *v1alpha1.LinuxVirtualMachine, err error)
- func (c *FakeLinuxVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLinuxVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLinuxVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LinuxVirtualMachine, err error)
- func (c *FakeLinuxVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LinuxVirtualMachineList, err error)
- func (c *FakeLinuxVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.LinuxVirtualMachine, err error)
- func (c *FakeLinuxVirtualMachines) Update(ctx context.Context, linuxVirtualMachine *v1alpha1.LinuxVirtualMachine, ...) (result *v1alpha1.LinuxVirtualMachine, err error)
- func (c *FakeLinuxVirtualMachines) UpdateStatus(ctx context.Context, linuxVirtualMachine *v1alpha1.LinuxVirtualMachine, ...) (*v1alpha1.LinuxVirtualMachine, error)
- func (c *FakeLinuxVirtualMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicies
- func (c *FakePolicies) Create(ctx context.Context, policy *v1alpha1.Policy, opts v1.CreateOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyList, err error)
- func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Update(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, error)
- func (c *FakePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSchedules
- func (c *FakeSchedules) Create(ctx context.Context, schedule *v1alpha1.Schedule, opts v1.CreateOptions) (result *v1alpha1.Schedule, err error)
- func (c *FakeSchedules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSchedules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSchedules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Schedule, err error)
- func (c *FakeSchedules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScheduleList, err error)
- func (c *FakeSchedules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Schedule, err error)
- func (c *FakeSchedules) Update(ctx context.Context, schedule *v1alpha1.Schedule, opts v1.UpdateOptions) (result *v1alpha1.Schedule, err error)
- func (c *FakeSchedules) UpdateStatus(ctx context.Context, schedule *v1alpha1.Schedule, opts v1.UpdateOptions) (*v1alpha1.Schedule, error)
- func (c *FakeSchedules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualNetworks
- func (c *FakeVirtualNetworks) Create(ctx context.Context, virtualNetwork *v1alpha1.VirtualNetwork, ...) (result *v1alpha1.VirtualNetwork, err error)
- func (c *FakeVirtualNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VirtualNetwork, err error)
- func (c *FakeVirtualNetworks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VirtualNetworkList, err error)
- func (c *FakeVirtualNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VirtualNetwork, err error)
- func (c *FakeVirtualNetworks) Update(ctx context.Context, virtualNetwork *v1alpha1.VirtualNetwork, ...) (result *v1alpha1.VirtualNetwork, err error)
- func (c *FakeVirtualNetworks) UpdateStatus(ctx context.Context, virtualNetwork *v1alpha1.VirtualNetwork, ...) (*v1alpha1.VirtualNetwork, error)
- func (c *FakeVirtualNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWindowsVirtualMachines
- func (c *FakeWindowsVirtualMachines) Create(ctx context.Context, windowsVirtualMachine *v1alpha1.WindowsVirtualMachine, ...) (result *v1alpha1.WindowsVirtualMachine, err error)
- func (c *FakeWindowsVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWindowsVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWindowsVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WindowsVirtualMachine, err error)
- func (c *FakeWindowsVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WindowsVirtualMachineList, err error)
- func (c *FakeWindowsVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.WindowsVirtualMachine, err error)
- func (c *FakeWindowsVirtualMachines) Update(ctx context.Context, windowsVirtualMachine *v1alpha1.WindowsVirtualMachine, ...) (result *v1alpha1.WindowsVirtualMachine, err error)
- func (c *FakeWindowsVirtualMachines) UpdateStatus(ctx context.Context, windowsVirtualMachine *v1alpha1.WindowsVirtualMachine, ...) (*v1alpha1.WindowsVirtualMachine, error)
- func (c *FakeWindowsVirtualMachines) 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 FakeDevtestV1alpha1 ¶
func (*FakeDevtestV1alpha1) GlobalVmShutdownSchedules ¶
func (c *FakeDevtestV1alpha1) GlobalVmShutdownSchedules(namespace string) v1alpha1.GlobalVmShutdownScheduleInterface
func (*FakeDevtestV1alpha1) Labs ¶
func (c *FakeDevtestV1alpha1) Labs(namespace string) v1alpha1.LabInterface
func (*FakeDevtestV1alpha1) LinuxVirtualMachines ¶
func (c *FakeDevtestV1alpha1) LinuxVirtualMachines(namespace string) v1alpha1.LinuxVirtualMachineInterface
func (*FakeDevtestV1alpha1) Policies ¶
func (c *FakeDevtestV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
func (*FakeDevtestV1alpha1) RESTClient ¶
func (c *FakeDevtestV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeDevtestV1alpha1) Schedules ¶
func (c *FakeDevtestV1alpha1) Schedules(namespace string) v1alpha1.ScheduleInterface
func (*FakeDevtestV1alpha1) VirtualNetworks ¶
func (c *FakeDevtestV1alpha1) VirtualNetworks(namespace string) v1alpha1.VirtualNetworkInterface
func (*FakeDevtestV1alpha1) WindowsVirtualMachines ¶
func (c *FakeDevtestV1alpha1) WindowsVirtualMachines(namespace string) v1alpha1.WindowsVirtualMachineInterface
type FakeGlobalVmShutdownSchedules ¶
type FakeGlobalVmShutdownSchedules struct { Fake *FakeDevtestV1alpha1 // contains filtered or unexported fields }
FakeGlobalVmShutdownSchedules implements GlobalVmShutdownScheduleInterface
func (*FakeGlobalVmShutdownSchedules) Create ¶
func (c *FakeGlobalVmShutdownSchedules) Create(ctx context.Context, globalVmShutdownSchedule *v1alpha1.GlobalVmShutdownSchedule, opts v1.CreateOptions) (result *v1alpha1.GlobalVmShutdownSchedule, err error)
Create takes the representation of a globalVmShutdownSchedule and creates it. Returns the server's representation of the globalVmShutdownSchedule, and an error, if there is any.
func (*FakeGlobalVmShutdownSchedules) Delete ¶
func (c *FakeGlobalVmShutdownSchedules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the globalVmShutdownSchedule and deletes it. Returns an error if one occurs.
func (*FakeGlobalVmShutdownSchedules) DeleteCollection ¶
func (c *FakeGlobalVmShutdownSchedules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGlobalVmShutdownSchedules) Get ¶
func (c *FakeGlobalVmShutdownSchedules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GlobalVmShutdownSchedule, err error)
Get takes name of the globalVmShutdownSchedule, and returns the corresponding globalVmShutdownSchedule object, and an error if there is any.
func (*FakeGlobalVmShutdownSchedules) List ¶
func (c *FakeGlobalVmShutdownSchedules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GlobalVmShutdownScheduleList, err error)
List takes label and field selectors, and returns the list of GlobalVmShutdownSchedules that match those selectors.
func (*FakeGlobalVmShutdownSchedules) Patch ¶
func (c *FakeGlobalVmShutdownSchedules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GlobalVmShutdownSchedule, err error)
Patch applies the patch and returns the patched globalVmShutdownSchedule.
func (*FakeGlobalVmShutdownSchedules) Update ¶
func (c *FakeGlobalVmShutdownSchedules) Update(ctx context.Context, globalVmShutdownSchedule *v1alpha1.GlobalVmShutdownSchedule, opts v1.UpdateOptions) (result *v1alpha1.GlobalVmShutdownSchedule, err error)
Update takes the representation of a globalVmShutdownSchedule and updates it. Returns the server's representation of the globalVmShutdownSchedule, and an error, if there is any.
func (*FakeGlobalVmShutdownSchedules) UpdateStatus ¶
func (c *FakeGlobalVmShutdownSchedules) UpdateStatus(ctx context.Context, globalVmShutdownSchedule *v1alpha1.GlobalVmShutdownSchedule, opts v1.UpdateOptions) (*v1alpha1.GlobalVmShutdownSchedule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGlobalVmShutdownSchedules) Watch ¶
func (c *FakeGlobalVmShutdownSchedules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested globalVmShutdownSchedules.
type FakeLabs ¶
type FakeLabs struct { Fake *FakeDevtestV1alpha1 // contains filtered or unexported fields }
FakeLabs implements LabInterface
func (*FakeLabs) Create ¶
func (c *FakeLabs) Create(ctx context.Context, lab *v1alpha1.Lab, opts v1.CreateOptions) (result *v1alpha1.Lab, err error)
Create takes the representation of a lab and creates it. Returns the server's representation of the lab, and an error, if there is any.
func (*FakeLabs) Delete ¶
Delete takes name of the lab and deletes it. Returns an error if one occurs.
func (*FakeLabs) DeleteCollection ¶
func (c *FakeLabs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLabs) Get ¶
func (c *FakeLabs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Lab, err error)
Get takes name of the lab, and returns the corresponding lab object, and an error if there is any.
func (*FakeLabs) List ¶
func (c *FakeLabs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LabList, err error)
List takes label and field selectors, and returns the list of Labs that match those selectors.
func (*FakeLabs) Patch ¶
func (c *FakeLabs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Lab, err error)
Patch applies the patch and returns the patched lab.
func (*FakeLabs) Update ¶
func (c *FakeLabs) Update(ctx context.Context, lab *v1alpha1.Lab, opts v1.UpdateOptions) (result *v1alpha1.Lab, err error)
Update takes the representation of a lab and updates it. Returns the server's representation of the lab, and an error, if there is any.
func (*FakeLabs) UpdateStatus ¶
func (c *FakeLabs) UpdateStatus(ctx context.Context, lab *v1alpha1.Lab, opts v1.UpdateOptions) (*v1alpha1.Lab, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeLinuxVirtualMachines ¶
type FakeLinuxVirtualMachines struct { Fake *FakeDevtestV1alpha1 // contains filtered or unexported fields }
FakeLinuxVirtualMachines implements LinuxVirtualMachineInterface
func (*FakeLinuxVirtualMachines) Create ¶
func (c *FakeLinuxVirtualMachines) Create(ctx context.Context, linuxVirtualMachine *v1alpha1.LinuxVirtualMachine, opts v1.CreateOptions) (result *v1alpha1.LinuxVirtualMachine, err error)
Create takes the representation of a linuxVirtualMachine and creates it. Returns the server's representation of the linuxVirtualMachine, and an error, if there is any.
func (*FakeLinuxVirtualMachines) Delete ¶
func (c *FakeLinuxVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the linuxVirtualMachine and deletes it. Returns an error if one occurs.
func (*FakeLinuxVirtualMachines) DeleteCollection ¶
func (c *FakeLinuxVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLinuxVirtualMachines) Get ¶
func (c *FakeLinuxVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LinuxVirtualMachine, err error)
Get takes name of the linuxVirtualMachine, and returns the corresponding linuxVirtualMachine object, and an error if there is any.
func (*FakeLinuxVirtualMachines) List ¶
func (c *FakeLinuxVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LinuxVirtualMachineList, err error)
List takes label and field selectors, and returns the list of LinuxVirtualMachines that match those selectors.
func (*FakeLinuxVirtualMachines) Patch ¶
func (c *FakeLinuxVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LinuxVirtualMachine, err error)
Patch applies the patch and returns the patched linuxVirtualMachine.
func (*FakeLinuxVirtualMachines) Update ¶
func (c *FakeLinuxVirtualMachines) Update(ctx context.Context, linuxVirtualMachine *v1alpha1.LinuxVirtualMachine, opts v1.UpdateOptions) (result *v1alpha1.LinuxVirtualMachine, err error)
Update takes the representation of a linuxVirtualMachine and updates it. Returns the server's representation of the linuxVirtualMachine, and an error, if there is any.
func (*FakeLinuxVirtualMachines) UpdateStatus ¶
func (c *FakeLinuxVirtualMachines) UpdateStatus(ctx context.Context, linuxVirtualMachine *v1alpha1.LinuxVirtualMachine, opts v1.UpdateOptions) (*v1alpha1.LinuxVirtualMachine, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLinuxVirtualMachines) Watch ¶
func (c *FakeLinuxVirtualMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested linuxVirtualMachines.
type FakePolicies ¶
type FakePolicies struct { Fake *FakeDevtestV1alpha1 // contains filtered or unexported fields }
FakePolicies implements PolicyInterface
func (*FakePolicies) Create ¶
func (c *FakePolicies) Create(ctx context.Context, policy *v1alpha1.Policy, opts v1.CreateOptions) (result *v1alpha1.Policy, err error)
Create takes the representation of a policy and creates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) Delete ¶
func (c *FakePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the policy and deletes it. Returns an error if one occurs.
func (*FakePolicies) DeleteCollection ¶
func (c *FakePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicies) Get ¶
func (c *FakePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Policy, err error)
Get takes name of the policy, and returns the corresponding policy object, and an error if there is any.
func (*FakePolicies) List ¶
func (c *FakePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyList, err error)
List takes label and field selectors, and returns the list of Policies that match those selectors.
func (*FakePolicies) Patch ¶
func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Update ¶
func (c *FakePolicies) Update(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (result *v1alpha1.Policy, err error)
Update takes the representation of a policy and updates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) UpdateStatus ¶
func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicies) Watch ¶
func (c *FakePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policies.
type FakeSchedules ¶
type FakeSchedules struct { Fake *FakeDevtestV1alpha1 // contains filtered or unexported fields }
FakeSchedules implements ScheduleInterface
func (*FakeSchedules) Create ¶
func (c *FakeSchedules) Create(ctx context.Context, schedule *v1alpha1.Schedule, opts v1.CreateOptions) (result *v1alpha1.Schedule, err error)
Create takes the representation of a schedule and creates it. Returns the server's representation of the schedule, and an error, if there is any.
func (*FakeSchedules) Delete ¶
func (c *FakeSchedules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the schedule and deletes it. Returns an error if one occurs.
func (*FakeSchedules) DeleteCollection ¶
func (c *FakeSchedules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSchedules) Get ¶
func (c *FakeSchedules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Schedule, err error)
Get takes name of the schedule, and returns the corresponding schedule object, and an error if there is any.
func (*FakeSchedules) List ¶
func (c *FakeSchedules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScheduleList, err error)
List takes label and field selectors, and returns the list of Schedules that match those selectors.
func (*FakeSchedules) Patch ¶
func (c *FakeSchedules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Schedule, err error)
Patch applies the patch and returns the patched schedule.
func (*FakeSchedules) Update ¶
func (c *FakeSchedules) Update(ctx context.Context, schedule *v1alpha1.Schedule, opts v1.UpdateOptions) (result *v1alpha1.Schedule, err error)
Update takes the representation of a schedule and updates it. Returns the server's representation of the schedule, and an error, if there is any.
func (*FakeSchedules) UpdateStatus ¶
func (c *FakeSchedules) UpdateStatus(ctx context.Context, schedule *v1alpha1.Schedule, opts v1.UpdateOptions) (*v1alpha1.Schedule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSchedules) Watch ¶
func (c *FakeSchedules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested schedules.
type FakeVirtualNetworks ¶
type FakeVirtualNetworks struct { Fake *FakeDevtestV1alpha1 // contains filtered or unexported fields }
FakeVirtualNetworks implements VirtualNetworkInterface
func (*FakeVirtualNetworks) Create ¶
func (c *FakeVirtualNetworks) Create(ctx context.Context, virtualNetwork *v1alpha1.VirtualNetwork, opts v1.CreateOptions) (result *v1alpha1.VirtualNetwork, err error)
Create takes the representation of a virtualNetwork and creates it. Returns the server's representation of the virtualNetwork, and an error, if there is any.
func (*FakeVirtualNetworks) Delete ¶
func (c *FakeVirtualNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualNetwork and deletes it. Returns an error if one occurs.
func (*FakeVirtualNetworks) DeleteCollection ¶
func (c *FakeVirtualNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualNetworks) Get ¶
func (c *FakeVirtualNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VirtualNetwork, err error)
Get takes name of the virtualNetwork, and returns the corresponding virtualNetwork object, and an error if there is any.
func (*FakeVirtualNetworks) List ¶
func (c *FakeVirtualNetworks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VirtualNetworkList, err error)
List takes label and field selectors, and returns the list of VirtualNetworks that match those selectors.
func (*FakeVirtualNetworks) Patch ¶
func (c *FakeVirtualNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VirtualNetwork, err error)
Patch applies the patch and returns the patched virtualNetwork.
func (*FakeVirtualNetworks) Update ¶
func (c *FakeVirtualNetworks) Update(ctx context.Context, virtualNetwork *v1alpha1.VirtualNetwork, opts v1.UpdateOptions) (result *v1alpha1.VirtualNetwork, err error)
Update takes the representation of a virtualNetwork and updates it. Returns the server's representation of the virtualNetwork, and an error, if there is any.
func (*FakeVirtualNetworks) UpdateStatus ¶
func (c *FakeVirtualNetworks) UpdateStatus(ctx context.Context, virtualNetwork *v1alpha1.VirtualNetwork, opts v1.UpdateOptions) (*v1alpha1.VirtualNetwork, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualNetworks) Watch ¶
func (c *FakeVirtualNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualNetworks.
type FakeWindowsVirtualMachines ¶
type FakeWindowsVirtualMachines struct { Fake *FakeDevtestV1alpha1 // contains filtered or unexported fields }
FakeWindowsVirtualMachines implements WindowsVirtualMachineInterface
func (*FakeWindowsVirtualMachines) Create ¶
func (c *FakeWindowsVirtualMachines) Create(ctx context.Context, windowsVirtualMachine *v1alpha1.WindowsVirtualMachine, opts v1.CreateOptions) (result *v1alpha1.WindowsVirtualMachine, err error)
Create takes the representation of a windowsVirtualMachine and creates it. Returns the server's representation of the windowsVirtualMachine, and an error, if there is any.
func (*FakeWindowsVirtualMachines) Delete ¶
func (c *FakeWindowsVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the windowsVirtualMachine and deletes it. Returns an error if one occurs.
func (*FakeWindowsVirtualMachines) DeleteCollection ¶
func (c *FakeWindowsVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWindowsVirtualMachines) Get ¶
func (c *FakeWindowsVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WindowsVirtualMachine, err error)
Get takes name of the windowsVirtualMachine, and returns the corresponding windowsVirtualMachine object, and an error if there is any.
func (*FakeWindowsVirtualMachines) List ¶
func (c *FakeWindowsVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WindowsVirtualMachineList, err error)
List takes label and field selectors, and returns the list of WindowsVirtualMachines that match those selectors.
func (*FakeWindowsVirtualMachines) Patch ¶
func (c *FakeWindowsVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.WindowsVirtualMachine, err error)
Patch applies the patch and returns the patched windowsVirtualMachine.
func (*FakeWindowsVirtualMachines) Update ¶
func (c *FakeWindowsVirtualMachines) Update(ctx context.Context, windowsVirtualMachine *v1alpha1.WindowsVirtualMachine, opts v1.UpdateOptions) (result *v1alpha1.WindowsVirtualMachine, err error)
Update takes the representation of a windowsVirtualMachine and updates it. Returns the server's representation of the windowsVirtualMachine, and an error, if there is any.
func (*FakeWindowsVirtualMachines) UpdateStatus ¶
func (c *FakeWindowsVirtualMachines) UpdateStatus(ctx context.Context, windowsVirtualMachine *v1alpha1.WindowsVirtualMachine, opts v1.UpdateOptions) (*v1alpha1.WindowsVirtualMachine, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWindowsVirtualMachines) Watch ¶
func (c *FakeWindowsVirtualMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested windowsVirtualMachines.