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