Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppV1alpha1
- func (c *FakeAppV1alpha1) KubeSerials(namespace string) v1alpha1.KubeSerialInterface
- func (c *FakeAppV1alpha1) ManagerScheduleRequests() v1alpha1.ManagerScheduleRequestInterface
- func (c *FakeAppV1alpha1) Managers() v1alpha1.ManagerInterface
- func (c *FakeAppV1alpha1) RESTClient() rest.Interface
- func (c *FakeAppV1alpha1) SerialDevices() v1alpha1.SerialDeviceInterface
- type FakeKubeSerials
- func (c *FakeKubeSerials) Create(ctx context.Context, kubeSerial *v1alpha1.KubeSerial, opts v1.CreateOptions) (result *v1alpha1.KubeSerial, err error)
- func (c *FakeKubeSerials) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKubeSerials) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKubeSerials) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KubeSerial, err error)
- func (c *FakeKubeSerials) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KubeSerialList, err error)
- func (c *FakeKubeSerials) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KubeSerial, err error)
- func (c *FakeKubeSerials) Update(ctx context.Context, kubeSerial *v1alpha1.KubeSerial, opts v1.UpdateOptions) (result *v1alpha1.KubeSerial, err error)
- func (c *FakeKubeSerials) UpdateStatus(ctx context.Context, kubeSerial *v1alpha1.KubeSerial, opts v1.UpdateOptions) (*v1alpha1.KubeSerial, error)
- func (c *FakeKubeSerials) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeManagerScheduleRequests
- func (c *FakeManagerScheduleRequests) Create(ctx context.Context, managerScheduleRequest *v1alpha1.ManagerScheduleRequest, ...) (result *v1alpha1.ManagerScheduleRequest, err error)
- func (c *FakeManagerScheduleRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeManagerScheduleRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeManagerScheduleRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagerScheduleRequest, err error)
- func (c *FakeManagerScheduleRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagerScheduleRequestList, err error)
- func (c *FakeManagerScheduleRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ManagerScheduleRequest, err error)
- func (c *FakeManagerScheduleRequests) Update(ctx context.Context, managerScheduleRequest *v1alpha1.ManagerScheduleRequest, ...) (result *v1alpha1.ManagerScheduleRequest, err error)
- func (c *FakeManagerScheduleRequests) UpdateStatus(ctx context.Context, managerScheduleRequest *v1alpha1.ManagerScheduleRequest, ...) (*v1alpha1.ManagerScheduleRequest, error)
- func (c *FakeManagerScheduleRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeManagers
- func (c *FakeManagers) Create(ctx context.Context, manager *v1alpha1.Manager, opts v1.CreateOptions) (result *v1alpha1.Manager, err error)
- func (c *FakeManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Manager, err error)
- func (c *FakeManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagerList, err error)
- func (c *FakeManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Manager, err error)
- func (c *FakeManagers) Update(ctx context.Context, manager *v1alpha1.Manager, opts v1.UpdateOptions) (result *v1alpha1.Manager, err error)
- func (c *FakeManagers) UpdateStatus(ctx context.Context, manager *v1alpha1.Manager, opts v1.UpdateOptions) (*v1alpha1.Manager, error)
- func (c *FakeManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSerialDevices
- func (c *FakeSerialDevices) Create(ctx context.Context, serialDevice *v1alpha1.SerialDevice, ...) (result *v1alpha1.SerialDevice, err error)
- func (c *FakeSerialDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSerialDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSerialDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SerialDevice, err error)
- func (c *FakeSerialDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SerialDeviceList, err error)
- func (c *FakeSerialDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SerialDevice, err error)
- func (c *FakeSerialDevices) Update(ctx context.Context, serialDevice *v1alpha1.SerialDevice, ...) (result *v1alpha1.SerialDevice, err error)
- func (c *FakeSerialDevices) UpdateStatus(ctx context.Context, serialDevice *v1alpha1.SerialDevice, ...) (*v1alpha1.SerialDevice, error)
- func (c *FakeSerialDevices) 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 FakeAppV1alpha1 ¶
func (*FakeAppV1alpha1) KubeSerials ¶
func (c *FakeAppV1alpha1) KubeSerials(namespace string) v1alpha1.KubeSerialInterface
func (*FakeAppV1alpha1) ManagerScheduleRequests ¶
func (c *FakeAppV1alpha1) ManagerScheduleRequests() v1alpha1.ManagerScheduleRequestInterface
func (*FakeAppV1alpha1) Managers ¶
func (c *FakeAppV1alpha1) Managers() v1alpha1.ManagerInterface
func (*FakeAppV1alpha1) RESTClient ¶
func (c *FakeAppV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAppV1alpha1) SerialDevices ¶
func (c *FakeAppV1alpha1) SerialDevices() v1alpha1.SerialDeviceInterface
type FakeKubeSerials ¶
type FakeKubeSerials struct { Fake *FakeAppV1alpha1 // contains filtered or unexported fields }
FakeKubeSerials implements KubeSerialInterface
func (*FakeKubeSerials) Create ¶
func (c *FakeKubeSerials) Create(ctx context.Context, kubeSerial *v1alpha1.KubeSerial, opts v1.CreateOptions) (result *v1alpha1.KubeSerial, err error)
Create takes the representation of a kubeSerial and creates it. Returns the server's representation of the kubeSerial, and an error, if there is any.
func (*FakeKubeSerials) Delete ¶
func (c *FakeKubeSerials) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kubeSerial and deletes it. Returns an error if one occurs.
func (*FakeKubeSerials) DeleteCollection ¶
func (c *FakeKubeSerials) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKubeSerials) Get ¶
func (c *FakeKubeSerials) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KubeSerial, err error)
Get takes name of the kubeSerial, and returns the corresponding kubeSerial object, and an error if there is any.
func (*FakeKubeSerials) List ¶
func (c *FakeKubeSerials) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KubeSerialList, err error)
List takes label and field selectors, and returns the list of KubeSerials that match those selectors.
func (*FakeKubeSerials) Patch ¶
func (c *FakeKubeSerials) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KubeSerial, err error)
Patch applies the patch and returns the patched kubeSerial.
func (*FakeKubeSerials) Update ¶
func (c *FakeKubeSerials) Update(ctx context.Context, kubeSerial *v1alpha1.KubeSerial, opts v1.UpdateOptions) (result *v1alpha1.KubeSerial, err error)
Update takes the representation of a kubeSerial and updates it. Returns the server's representation of the kubeSerial, and an error, if there is any.
func (*FakeKubeSerials) UpdateStatus ¶
func (c *FakeKubeSerials) UpdateStatus(ctx context.Context, kubeSerial *v1alpha1.KubeSerial, opts v1.UpdateOptions) (*v1alpha1.KubeSerial, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKubeSerials) Watch ¶
func (c *FakeKubeSerials) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kubeSerials.
type FakeManagerScheduleRequests ¶
type FakeManagerScheduleRequests struct {
Fake *FakeAppV1alpha1
}
FakeManagerScheduleRequests implements ManagerScheduleRequestInterface
func (*FakeManagerScheduleRequests) Create ¶
func (c *FakeManagerScheduleRequests) Create(ctx context.Context, managerScheduleRequest *v1alpha1.ManagerScheduleRequest, opts v1.CreateOptions) (result *v1alpha1.ManagerScheduleRequest, err error)
Create takes the representation of a managerScheduleRequest and creates it. Returns the server's representation of the managerScheduleRequest, and an error, if there is any.
func (*FakeManagerScheduleRequests) Delete ¶
func (c *FakeManagerScheduleRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the managerScheduleRequest and deletes it. Returns an error if one occurs.
func (*FakeManagerScheduleRequests) DeleteCollection ¶
func (c *FakeManagerScheduleRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeManagerScheduleRequests) Get ¶
func (c *FakeManagerScheduleRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagerScheduleRequest, err error)
Get takes name of the managerScheduleRequest, and returns the corresponding managerScheduleRequest object, and an error if there is any.
func (*FakeManagerScheduleRequests) List ¶
func (c *FakeManagerScheduleRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagerScheduleRequestList, err error)
List takes label and field selectors, and returns the list of ManagerScheduleRequests that match those selectors.
func (*FakeManagerScheduleRequests) Patch ¶
func (c *FakeManagerScheduleRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ManagerScheduleRequest, err error)
Patch applies the patch and returns the patched managerScheduleRequest.
func (*FakeManagerScheduleRequests) Update ¶
func (c *FakeManagerScheduleRequests) Update(ctx context.Context, managerScheduleRequest *v1alpha1.ManagerScheduleRequest, opts v1.UpdateOptions) (result *v1alpha1.ManagerScheduleRequest, err error)
Update takes the representation of a managerScheduleRequest and updates it. Returns the server's representation of the managerScheduleRequest, and an error, if there is any.
func (*FakeManagerScheduleRequests) UpdateStatus ¶
func (c *FakeManagerScheduleRequests) UpdateStatus(ctx context.Context, managerScheduleRequest *v1alpha1.ManagerScheduleRequest, opts v1.UpdateOptions) (*v1alpha1.ManagerScheduleRequest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeManagerScheduleRequests) Watch ¶
func (c *FakeManagerScheduleRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested managerScheduleRequests.
type FakeManagers ¶
type FakeManagers struct {
Fake *FakeAppV1alpha1
}
FakeManagers implements ManagerInterface
func (*FakeManagers) Create ¶
func (c *FakeManagers) Create(ctx context.Context, manager *v1alpha1.Manager, opts v1.CreateOptions) (result *v1alpha1.Manager, err error)
Create takes the representation of a manager and creates it. Returns the server's representation of the manager, and an error, if there is any.
func (*FakeManagers) Delete ¶
func (c *FakeManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the manager and deletes it. Returns an error if one occurs.
func (*FakeManagers) DeleteCollection ¶
func (c *FakeManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeManagers) Get ¶
func (c *FakeManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Manager, err error)
Get takes name of the manager, and returns the corresponding manager object, and an error if there is any.
func (*FakeManagers) List ¶
func (c *FakeManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagerList, err error)
List takes label and field selectors, and returns the list of Managers that match those selectors.
func (*FakeManagers) Patch ¶
func (c *FakeManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Manager, err error)
Patch applies the patch and returns the patched manager.
func (*FakeManagers) Update ¶
func (c *FakeManagers) Update(ctx context.Context, manager *v1alpha1.Manager, opts v1.UpdateOptions) (result *v1alpha1.Manager, err error)
Update takes the representation of a manager and updates it. Returns the server's representation of the manager, and an error, if there is any.
func (*FakeManagers) UpdateStatus ¶
func (c *FakeManagers) UpdateStatus(ctx context.Context, manager *v1alpha1.Manager, opts v1.UpdateOptions) (*v1alpha1.Manager, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeManagers) Watch ¶
func (c *FakeManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested managers.
type FakeSerialDevices ¶
type FakeSerialDevices struct {
Fake *FakeAppV1alpha1
}
FakeSerialDevices implements SerialDeviceInterface
func (*FakeSerialDevices) Create ¶
func (c *FakeSerialDevices) Create(ctx context.Context, serialDevice *v1alpha1.SerialDevice, opts v1.CreateOptions) (result *v1alpha1.SerialDevice, err error)
Create takes the representation of a serialDevice and creates it. Returns the server's representation of the serialDevice, and an error, if there is any.
func (*FakeSerialDevices) Delete ¶
func (c *FakeSerialDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serialDevice and deletes it. Returns an error if one occurs.
func (*FakeSerialDevices) DeleteCollection ¶
func (c *FakeSerialDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSerialDevices) Get ¶
func (c *FakeSerialDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SerialDevice, err error)
Get takes name of the serialDevice, and returns the corresponding serialDevice object, and an error if there is any.
func (*FakeSerialDevices) List ¶
func (c *FakeSerialDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SerialDeviceList, err error)
List takes label and field selectors, and returns the list of SerialDevices that match those selectors.
func (*FakeSerialDevices) Patch ¶
func (c *FakeSerialDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SerialDevice, err error)
Patch applies the patch and returns the patched serialDevice.
func (*FakeSerialDevices) Update ¶
func (c *FakeSerialDevices) Update(ctx context.Context, serialDevice *v1alpha1.SerialDevice, opts v1.UpdateOptions) (result *v1alpha1.SerialDevice, err error)
Update takes the representation of a serialDevice and updates it. Returns the server's representation of the serialDevice, and an error, if there is any.
func (*FakeSerialDevices) UpdateStatus ¶
func (c *FakeSerialDevices) UpdateStatus(ctx context.Context, serialDevice *v1alpha1.SerialDevice, opts v1.UpdateOptions) (*v1alpha1.SerialDevice, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSerialDevices) Watch ¶
func (c *FakeSerialDevices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serialDevices.