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