Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAdjustments
- func (c *FakeAdjustments) Create(adjustment *v1alpha1.Adjustment) (result *v1alpha1.Adjustment, err error)
- func (c *FakeAdjustments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAdjustments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAdjustments) Get(name string, options v1.GetOptions) (result *v1alpha1.Adjustment, err error)
- func (c *FakeAdjustments) List(opts v1.ListOptions) (result *v1alpha1.AdjustmentList, err error)
- func (c *FakeAdjustments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Adjustment, err error)
- func (c *FakeAdjustments) Update(adjustment *v1alpha1.Adjustment) (result *v1alpha1.Adjustment, err error)
- func (c *FakeAdjustments) UpdateStatus(adjustment *v1alpha1.Adjustment) (*v1alpha1.Adjustment, error)
- func (c *FakeAdjustments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCriresmgrV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAdjustments ¶
type FakeAdjustments struct { Fake *FakeCriresmgrV1alpha1 // contains filtered or unexported fields }
FakeAdjustments implements AdjustmentInterface
func (*FakeAdjustments) Create ¶
func (c *FakeAdjustments) Create(adjustment *v1alpha1.Adjustment) (result *v1alpha1.Adjustment, err error)
Create takes the representation of a adjustment and creates it. Returns the server's representation of the adjustment, and an error, if there is any.
func (*FakeAdjustments) Delete ¶
func (c *FakeAdjustments) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the adjustment and deletes it. Returns an error if one occurs.
func (*FakeAdjustments) DeleteCollection ¶
func (c *FakeAdjustments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAdjustments) Get ¶
func (c *FakeAdjustments) Get(name string, options v1.GetOptions) (result *v1alpha1.Adjustment, err error)
Get takes name of the adjustment, and returns the corresponding adjustment object, and an error if there is any.
func (*FakeAdjustments) List ¶
func (c *FakeAdjustments) List(opts v1.ListOptions) (result *v1alpha1.AdjustmentList, err error)
List takes label and field selectors, and returns the list of Adjustments that match those selectors.
func (*FakeAdjustments) Patch ¶
func (c *FakeAdjustments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Adjustment, err error)
Patch applies the patch and returns the patched adjustment.
func (*FakeAdjustments) Update ¶
func (c *FakeAdjustments) Update(adjustment *v1alpha1.Adjustment) (result *v1alpha1.Adjustment, err error)
Update takes the representation of a adjustment and updates it. Returns the server's representation of the adjustment, and an error, if there is any.
func (*FakeAdjustments) UpdateStatus ¶
func (c *FakeAdjustments) UpdateStatus(adjustment *v1alpha1.Adjustment) (*v1alpha1.Adjustment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAdjustments) Watch ¶
func (c *FakeAdjustments) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested adjustments.
type FakeCriresmgrV1alpha1 ¶
func (*FakeCriresmgrV1alpha1) Adjustments ¶
func (c *FakeCriresmgrV1alpha1) Adjustments(namespace string) v1alpha1.AdjustmentInterface
func (*FakeCriresmgrV1alpha1) RESTClient ¶
func (c *FakeCriresmgrV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.