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