Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeOperatorStatuses
- func (c *FakeOperatorStatuses) Create(operatorStatus *operatorstatusopenshiftiov1.OperatorStatus) (result *operatorstatusopenshiftiov1.OperatorStatus, err error)
- func (c *FakeOperatorStatuses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeOperatorStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeOperatorStatuses) Get(name string, options v1.GetOptions) (result *operatorstatusopenshiftiov1.OperatorStatus, err error)
- func (c *FakeOperatorStatuses) List(opts v1.ListOptions) (result *operatorstatusopenshiftiov1.OperatorStatusList, err error)
- func (c *FakeOperatorStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *operatorstatusopenshiftiov1.OperatorStatus, err error)
- func (c *FakeOperatorStatuses) Update(operatorStatus *operatorstatusopenshiftiov1.OperatorStatus) (result *operatorstatusopenshiftiov1.OperatorStatus, err error)
- func (c *FakeOperatorStatuses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOperatorstatusV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOperatorStatuses ¶
type FakeOperatorStatuses struct { Fake *FakeOperatorstatusV1 // contains filtered or unexported fields }
FakeOperatorStatuses implements OperatorStatusInterface
func (*FakeOperatorStatuses) Create ¶
func (c *FakeOperatorStatuses) Create(operatorStatus *operatorstatusopenshiftiov1.OperatorStatus) (result *operatorstatusopenshiftiov1.OperatorStatus, err error)
Create takes the representation of a operatorStatus and creates it. Returns the server's representation of the operatorStatus, and an error, if there is any.
func (*FakeOperatorStatuses) Delete ¶
func (c *FakeOperatorStatuses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the operatorStatus and deletes it. Returns an error if one occurs.
func (*FakeOperatorStatuses) DeleteCollection ¶
func (c *FakeOperatorStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOperatorStatuses) Get ¶
func (c *FakeOperatorStatuses) Get(name string, options v1.GetOptions) (result *operatorstatusopenshiftiov1.OperatorStatus, err error)
Get takes name of the operatorStatus, and returns the corresponding operatorStatus object, and an error if there is any.
func (*FakeOperatorStatuses) List ¶
func (c *FakeOperatorStatuses) List(opts v1.ListOptions) (result *operatorstatusopenshiftiov1.OperatorStatusList, err error)
List takes label and field selectors, and returns the list of OperatorStatuses that match those selectors.
func (*FakeOperatorStatuses) Patch ¶
func (c *FakeOperatorStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *operatorstatusopenshiftiov1.OperatorStatus, err error)
Patch applies the patch and returns the patched operatorStatus.
func (*FakeOperatorStatuses) Update ¶
func (c *FakeOperatorStatuses) Update(operatorStatus *operatorstatusopenshiftiov1.OperatorStatus) (result *operatorstatusopenshiftiov1.OperatorStatus, err error)
Update takes the representation of a operatorStatus and updates it. Returns the server's representation of the operatorStatus, and an error, if there is any.
func (*FakeOperatorStatuses) Watch ¶
func (c *FakeOperatorStatuses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested operatorStatuses.
type FakeOperatorstatusV1 ¶
func (*FakeOperatorstatusV1) OperatorStatuses ¶
func (c *FakeOperatorstatusV1) OperatorStatuses(namespace string) v1.OperatorStatusInterface
func (*FakeOperatorstatusV1) RESTClient ¶
func (c *FakeOperatorstatusV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.