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