Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAutopilotRuleObjects
- func (c *FakeAutopilotRuleObjects) Create(autopilotRuleObject *v1alpha1.AutopilotRuleObject) (result *v1alpha1.AutopilotRuleObject, err error)
- func (c *FakeAutopilotRuleObjects) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAutopilotRuleObjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAutopilotRuleObjects) Get(name string, options v1.GetOptions) (result *v1alpha1.AutopilotRuleObject, err error)
- func (c *FakeAutopilotRuleObjects) List(opts v1.ListOptions) (result *v1alpha1.AutopilotRuleObjectList, err error)
- func (c *FakeAutopilotRuleObjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutopilotRuleObject, err error)
- func (c *FakeAutopilotRuleObjects) Update(autopilotRuleObject *v1alpha1.AutopilotRuleObject) (result *v1alpha1.AutopilotRuleObject, err error)
- func (c *FakeAutopilotRuleObjects) UpdateStatus(autopilotRuleObject *v1alpha1.AutopilotRuleObject) (*v1alpha1.AutopilotRuleObject, error)
- func (c *FakeAutopilotRuleObjects) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAutopilotRules
- func (c *FakeAutopilotRules) Create(autopilotRule *v1alpha1.AutopilotRule) (result *v1alpha1.AutopilotRule, err error)
- func (c *FakeAutopilotRules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAutopilotRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAutopilotRules) Get(name string, options v1.GetOptions) (result *v1alpha1.AutopilotRule, err error)
- func (c *FakeAutopilotRules) List(opts v1.ListOptions) (result *v1alpha1.AutopilotRuleList, err error)
- func (c *FakeAutopilotRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutopilotRule, err error)
- func (c *FakeAutopilotRules) Update(autopilotRule *v1alpha1.AutopilotRule) (result *v1alpha1.AutopilotRule, err error)
- func (c *FakeAutopilotRules) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAutopilotV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAutopilotRuleObjects ¶ added in v1.3.0
type FakeAutopilotRuleObjects struct {
Fake *FakeAutopilotV1alpha1
}
FakeAutopilotRuleObjects implements AutopilotRuleObjectInterface
func (*FakeAutopilotRuleObjects) Create ¶ added in v1.3.0
func (c *FakeAutopilotRuleObjects) Create(autopilotRuleObject *v1alpha1.AutopilotRuleObject) (result *v1alpha1.AutopilotRuleObject, err error)
Create takes the representation of a autopilotRuleObject and creates it. Returns the server's representation of the autopilotRuleObject, and an error, if there is any.
func (*FakeAutopilotRuleObjects) Delete ¶ added in v1.3.0
func (c *FakeAutopilotRuleObjects) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the autopilotRuleObject and deletes it. Returns an error if one occurs.
func (*FakeAutopilotRuleObjects) DeleteCollection ¶ added in v1.3.0
func (c *FakeAutopilotRuleObjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAutopilotRuleObjects) Get ¶ added in v1.3.0
func (c *FakeAutopilotRuleObjects) Get(name string, options v1.GetOptions) (result *v1alpha1.AutopilotRuleObject, err error)
Get takes name of the autopilotRuleObject, and returns the corresponding autopilotRuleObject object, and an error if there is any.
func (*FakeAutopilotRuleObjects) List ¶ added in v1.3.0
func (c *FakeAutopilotRuleObjects) List(opts v1.ListOptions) (result *v1alpha1.AutopilotRuleObjectList, err error)
List takes label and field selectors, and returns the list of AutopilotRuleObjects that match those selectors.
func (*FakeAutopilotRuleObjects) Patch ¶ added in v1.3.0
func (c *FakeAutopilotRuleObjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutopilotRuleObject, err error)
Patch applies the patch and returns the patched autopilotRuleObject.
func (*FakeAutopilotRuleObjects) Update ¶ added in v1.3.0
func (c *FakeAutopilotRuleObjects) Update(autopilotRuleObject *v1alpha1.AutopilotRuleObject) (result *v1alpha1.AutopilotRuleObject, err error)
Update takes the representation of a autopilotRuleObject and updates it. Returns the server's representation of the autopilotRuleObject, and an error, if there is any.
func (*FakeAutopilotRuleObjects) UpdateStatus ¶ added in v1.3.0
func (c *FakeAutopilotRuleObjects) UpdateStatus(autopilotRuleObject *v1alpha1.AutopilotRuleObject) (*v1alpha1.AutopilotRuleObject, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAutopilotRuleObjects) Watch ¶ added in v1.3.0
func (c *FakeAutopilotRuleObjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested autopilotRuleObjects.
type FakeAutopilotRules ¶
type FakeAutopilotRules struct {
Fake *FakeAutopilotV1alpha1
}
FakeAutopilotRules implements AutopilotRuleInterface
func (*FakeAutopilotRules) Create ¶
func (c *FakeAutopilotRules) Create(autopilotRule *v1alpha1.AutopilotRule) (result *v1alpha1.AutopilotRule, err error)
Create takes the representation of a autopilotRule and creates it. Returns the server's representation of the autopilotRule, and an error, if there is any.
func (*FakeAutopilotRules) Delete ¶
func (c *FakeAutopilotRules) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the autopilotRule and deletes it. Returns an error if one occurs.
func (*FakeAutopilotRules) DeleteCollection ¶
func (c *FakeAutopilotRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAutopilotRules) Get ¶
func (c *FakeAutopilotRules) Get(name string, options v1.GetOptions) (result *v1alpha1.AutopilotRule, err error)
Get takes name of the autopilotRule, and returns the corresponding autopilotRule object, and an error if there is any.
func (*FakeAutopilotRules) List ¶
func (c *FakeAutopilotRules) List(opts v1.ListOptions) (result *v1alpha1.AutopilotRuleList, err error)
List takes label and field selectors, and returns the list of AutopilotRules that match those selectors.
func (*FakeAutopilotRules) Patch ¶
func (c *FakeAutopilotRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutopilotRule, err error)
Patch applies the patch and returns the patched autopilotRule.
func (*FakeAutopilotRules) Update ¶
func (c *FakeAutopilotRules) Update(autopilotRule *v1alpha1.AutopilotRule) (result *v1alpha1.AutopilotRule, err error)
Update takes the representation of a autopilotRule and updates it. Returns the server's representation of the autopilotRule, and an error, if there is any.
func (*FakeAutopilotRules) Watch ¶
func (c *FakeAutopilotRules) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested autopilotRules.
type FakeAutopilotV1alpha1 ¶
func (*FakeAutopilotV1alpha1) AutopilotRuleObjects ¶ added in v1.3.0
func (c *FakeAutopilotV1alpha1) AutopilotRuleObjects() v1alpha1.AutopilotRuleObjectInterface
func (*FakeAutopilotV1alpha1) AutopilotRules ¶
func (c *FakeAutopilotV1alpha1) AutopilotRules() v1alpha1.AutopilotRuleInterface
func (*FakeAutopilotV1alpha1) RESTClient ¶
func (c *FakeAutopilotV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.