Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccountQuotas
- func (c *FakeAccountQuotas) Create(ctx context.Context, accountQuota *v1alpha1.AccountQuota, ...) (result *v1alpha1.AccountQuota, err error)
- func (c *FakeAccountQuotas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccountQuotas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccountQuotas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccountQuota, err error)
- func (c *FakeAccountQuotas) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccountQuotaList, err error)
- func (c *FakeAccountQuotas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AccountQuota, err error)
- func (c *FakeAccountQuotas) Update(ctx context.Context, accountQuota *v1alpha1.AccountQuota, ...) (result *v1alpha1.AccountQuota, err error)
- func (c *FakeAccountQuotas) UpdateStatus(ctx context.Context, accountQuota *v1alpha1.AccountQuota, ...) (*v1alpha1.AccountQuota, error)
- func (c *FakeAccountQuotas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAccounts
- func (c *FakeAccounts) Create(ctx context.Context, account *v1alpha1.Account, opts v1.CreateOptions) (result *v1alpha1.Account, err error)
- func (c *FakeAccounts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccounts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccounts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Account, err error)
- func (c *FakeAccounts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccountList, err error)
- func (c *FakeAccounts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Account, err error)
- func (c *FakeAccounts) Update(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (result *v1alpha1.Account, err error)
- func (c *FakeAccounts) UpdateStatus(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, error)
- func (c *FakeAccounts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigV1alpha1
- func (c *FakeConfigV1alpha1) AccountQuotas() v1alpha1.AccountQuotaInterface
- func (c *FakeConfigV1alpha1) Accounts() v1alpha1.AccountInterface
- func (c *FakeConfigV1alpha1) RESTClient() rest.Interface
- func (c *FakeConfigV1alpha1) TemplateInstances(namespace string) v1alpha1.TemplateInstanceInterface
- func (c *FakeConfigV1alpha1) Templates() v1alpha1.TemplateInterface
- type FakeTemplateInstances
- func (c *FakeTemplateInstances) Create(ctx context.Context, templateInstance *v1alpha1.TemplateInstance, ...) (result *v1alpha1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTemplateInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTemplateInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplateInstanceList, err error)
- func (c *FakeTemplateInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) Update(ctx context.Context, templateInstance *v1alpha1.TemplateInstance, ...) (result *v1alpha1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) UpdateStatus(ctx context.Context, templateInstance *v1alpha1.TemplateInstance, ...) (*v1alpha1.TemplateInstance, error)
- func (c *FakeTemplateInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTemplates
- func (c *FakeTemplates) Create(ctx context.Context, template *v1alpha1.Template, opts v1.CreateOptions) (result *v1alpha1.Template, err error)
- func (c *FakeTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Template, err error)
- func (c *FakeTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplateList, err error)
- func (c *FakeTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Template, err error)
- func (c *FakeTemplates) Update(ctx context.Context, template *v1alpha1.Template, opts v1.UpdateOptions) (result *v1alpha1.Template, err error)
- func (c *FakeTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAccountQuotas ¶
type FakeAccountQuotas struct {
Fake *FakeConfigV1alpha1
}
FakeAccountQuotas implements AccountQuotaInterface
func (*FakeAccountQuotas) Create ¶
func (c *FakeAccountQuotas) Create(ctx context.Context, accountQuota *v1alpha1.AccountQuota, opts v1.CreateOptions) (result *v1alpha1.AccountQuota, err error)
Create takes the representation of a accountQuota and creates it. Returns the server's representation of the accountQuota, and an error, if there is any.
func (*FakeAccountQuotas) Delete ¶
func (c *FakeAccountQuotas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the accountQuota and deletes it. Returns an error if one occurs.
func (*FakeAccountQuotas) DeleteCollection ¶
func (c *FakeAccountQuotas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccountQuotas) Get ¶
func (c *FakeAccountQuotas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccountQuota, err error)
Get takes name of the accountQuota, and returns the corresponding accountQuota object, and an error if there is any.
func (*FakeAccountQuotas) List ¶
func (c *FakeAccountQuotas) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccountQuotaList, err error)
List takes label and field selectors, and returns the list of AccountQuotas that match those selectors.
func (*FakeAccountQuotas) Patch ¶
func (c *FakeAccountQuotas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AccountQuota, err error)
Patch applies the patch and returns the patched accountQuota.
func (*FakeAccountQuotas) Update ¶
func (c *FakeAccountQuotas) Update(ctx context.Context, accountQuota *v1alpha1.AccountQuota, opts v1.UpdateOptions) (result *v1alpha1.AccountQuota, err error)
Update takes the representation of a accountQuota and updates it. Returns the server's representation of the accountQuota, and an error, if there is any.
func (*FakeAccountQuotas) UpdateStatus ¶
func (c *FakeAccountQuotas) UpdateStatus(ctx context.Context, accountQuota *v1alpha1.AccountQuota, opts v1.UpdateOptions) (*v1alpha1.AccountQuota, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAccountQuotas) Watch ¶
func (c *FakeAccountQuotas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accountQuotas.
type FakeAccounts ¶
type FakeAccounts struct {
Fake *FakeConfigV1alpha1
}
FakeAccounts implements AccountInterface
func (*FakeAccounts) Create ¶
func (c *FakeAccounts) Create(ctx context.Context, account *v1alpha1.Account, opts v1.CreateOptions) (result *v1alpha1.Account, err error)
Create takes the representation of a account and creates it. Returns the server's representation of the account, and an error, if there is any.
func (*FakeAccounts) Delete ¶
func (c *FakeAccounts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the account and deletes it. Returns an error if one occurs.
func (*FakeAccounts) DeleteCollection ¶
func (c *FakeAccounts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccounts) Get ¶
func (c *FakeAccounts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Account, err error)
Get takes name of the account, and returns the corresponding account object, and an error if there is any.
func (*FakeAccounts) List ¶
func (c *FakeAccounts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccountList, err error)
List takes label and field selectors, and returns the list of Accounts that match those selectors.
func (*FakeAccounts) Patch ¶
func (c *FakeAccounts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Account, err error)
Patch applies the patch and returns the patched account.
func (*FakeAccounts) Update ¶
func (c *FakeAccounts) Update(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (result *v1alpha1.Account, err error)
Update takes the representation of a account and updates it. Returns the server's representation of the account, and an error, if there is any.
func (*FakeAccounts) UpdateStatus ¶
func (c *FakeAccounts) UpdateStatus(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAccounts) Watch ¶
func (c *FakeAccounts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accounts.
type FakeConfigV1alpha1 ¶
func (*FakeConfigV1alpha1) AccountQuotas ¶
func (c *FakeConfigV1alpha1) AccountQuotas() v1alpha1.AccountQuotaInterface
func (*FakeConfigV1alpha1) Accounts ¶
func (c *FakeConfigV1alpha1) Accounts() v1alpha1.AccountInterface
func (*FakeConfigV1alpha1) RESTClient ¶
func (c *FakeConfigV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeConfigV1alpha1) TemplateInstances ¶
func (c *FakeConfigV1alpha1) TemplateInstances(namespace string) v1alpha1.TemplateInstanceInterface
func (*FakeConfigV1alpha1) Templates ¶
func (c *FakeConfigV1alpha1) Templates() v1alpha1.TemplateInterface
type FakeTemplateInstances ¶
type FakeTemplateInstances struct { Fake *FakeConfigV1alpha1 // contains filtered or unexported fields }
FakeTemplateInstances implements TemplateInstanceInterface
func (*FakeTemplateInstances) Create ¶
func (c *FakeTemplateInstances) Create(ctx context.Context, templateInstance *v1alpha1.TemplateInstance, opts v1.CreateOptions) (result *v1alpha1.TemplateInstance, err error)
Create takes the representation of a templateInstance and creates it. Returns the server's representation of the templateInstance, and an error, if there is any.
func (*FakeTemplateInstances) Delete ¶
func (c *FakeTemplateInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the templateInstance and deletes it. Returns an error if one occurs.
func (*FakeTemplateInstances) DeleteCollection ¶
func (c *FakeTemplateInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplateInstances) Get ¶
func (c *FakeTemplateInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TemplateInstance, err error)
Get takes name of the templateInstance, and returns the corresponding templateInstance object, and an error if there is any.
func (*FakeTemplateInstances) List ¶
func (c *FakeTemplateInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplateInstanceList, err error)
List takes label and field selectors, and returns the list of TemplateInstances that match those selectors.
func (*FakeTemplateInstances) Patch ¶
func (c *FakeTemplateInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TemplateInstance, err error)
Patch applies the patch and returns the patched templateInstance.
func (*FakeTemplateInstances) Update ¶
func (c *FakeTemplateInstances) Update(ctx context.Context, templateInstance *v1alpha1.TemplateInstance, opts v1.UpdateOptions) (result *v1alpha1.TemplateInstance, err error)
Update takes the representation of a templateInstance and updates it. Returns the server's representation of the templateInstance, and an error, if there is any.
func (*FakeTemplateInstances) UpdateStatus ¶
func (c *FakeTemplateInstances) UpdateStatus(ctx context.Context, templateInstance *v1alpha1.TemplateInstance, opts v1.UpdateOptions) (*v1alpha1.TemplateInstance, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTemplateInstances) Watch ¶
func (c *FakeTemplateInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templateInstances.
type FakeTemplates ¶
type FakeTemplates struct {
Fake *FakeConfigV1alpha1
}
FakeTemplates implements TemplateInterface
func (*FakeTemplates) Create ¶
func (c *FakeTemplates) Create(ctx context.Context, template *v1alpha1.Template, opts v1.CreateOptions) (result *v1alpha1.Template, err error)
Create takes the representation of a template and creates it. Returns the server's representation of the template, and an error, if there is any.
func (*FakeTemplates) Delete ¶
func (c *FakeTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the template and deletes it. Returns an error if one occurs.
func (*FakeTemplates) DeleteCollection ¶
func (c *FakeTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplates) Get ¶
func (c *FakeTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Template, err error)
Get takes name of the template, and returns the corresponding template object, and an error if there is any.
func (*FakeTemplates) List ¶
func (c *FakeTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplateList, err error)
List takes label and field selectors, and returns the list of Templates that match those selectors.
func (*FakeTemplates) Patch ¶
func (c *FakeTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Template, err error)
Patch applies the patch and returns the patched template.
func (*FakeTemplates) Update ¶
func (c *FakeTemplates) Update(ctx context.Context, template *v1alpha1.Template, opts v1.UpdateOptions) (result *v1alpha1.Template, err error)
Update takes the representation of a template and updates it. Returns the server's representation of the template, and an error, if there is any.
func (*FakeTemplates) Watch ¶
func (c *FakeTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templates.