Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAlibabacloudV1alpha1
- type FakeExternalSecrets
- func (c *FakeExternalSecrets) Create(ctx context.Context, externalSecret *v1alpha1.ExternalSecret, ...) (result *v1alpha1.ExternalSecret, err error)
- func (c *FakeExternalSecrets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExternalSecrets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExternalSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ExternalSecret, err error)
- func (c *FakeExternalSecrets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExternalSecretList, err error)
- func (c *FakeExternalSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ExternalSecret, err error)
- func (c *FakeExternalSecrets) Update(ctx context.Context, externalSecret *v1alpha1.ExternalSecret, ...) (result *v1alpha1.ExternalSecret, err error)
- func (c *FakeExternalSecrets) UpdateStatus(ctx context.Context, externalSecret *v1alpha1.ExternalSecret, ...) (*v1alpha1.ExternalSecret, error)
- func (c *FakeExternalSecrets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSecretStores
- func (c *FakeSecretStores) Create(ctx context.Context, secretStore *v1alpha1.SecretStore, opts v1.CreateOptions) (result *v1alpha1.SecretStore, err error)
- func (c *FakeSecretStores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSecretStores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSecretStores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SecretStore, err error)
- func (c *FakeSecretStores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SecretStoreList, err error)
- func (c *FakeSecretStores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SecretStore, err error)
- func (c *FakeSecretStores) Update(ctx context.Context, secretStore *v1alpha1.SecretStore, opts v1.UpdateOptions) (result *v1alpha1.SecretStore, err error)
- func (c *FakeSecretStores) UpdateStatus(ctx context.Context, secretStore *v1alpha1.SecretStore, opts v1.UpdateOptions) (*v1alpha1.SecretStore, error)
- func (c *FakeSecretStores) 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 FakeAlibabacloudV1alpha1 ¶
func (*FakeAlibabacloudV1alpha1) ExternalSecrets ¶
func (c *FakeAlibabacloudV1alpha1) ExternalSecrets(namespace string) v1alpha1.ExternalSecretInterface
func (*FakeAlibabacloudV1alpha1) RESTClient ¶
func (c *FakeAlibabacloudV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAlibabacloudV1alpha1) SecretStores ¶
func (c *FakeAlibabacloudV1alpha1) SecretStores(namespace string) v1alpha1.SecretStoreInterface
type FakeExternalSecrets ¶
type FakeExternalSecrets struct { Fake *FakeAlibabacloudV1alpha1 // contains filtered or unexported fields }
FakeExternalSecrets implements ExternalSecretInterface
func (*FakeExternalSecrets) Create ¶
func (c *FakeExternalSecrets) Create(ctx context.Context, externalSecret *v1alpha1.ExternalSecret, opts v1.CreateOptions) (result *v1alpha1.ExternalSecret, err error)
Create takes the representation of a externalSecret and creates it. Returns the server's representation of the externalSecret, and an error, if there is any.
func (*FakeExternalSecrets) Delete ¶
func (c *FakeExternalSecrets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the externalSecret and deletes it. Returns an error if one occurs.
func (*FakeExternalSecrets) DeleteCollection ¶
func (c *FakeExternalSecrets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExternalSecrets) Get ¶
func (c *FakeExternalSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ExternalSecret, err error)
Get takes name of the externalSecret, and returns the corresponding externalSecret object, and an error if there is any.
func (*FakeExternalSecrets) List ¶
func (c *FakeExternalSecrets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExternalSecretList, err error)
List takes label and field selectors, and returns the list of ExternalSecrets that match those selectors.
func (*FakeExternalSecrets) Patch ¶
func (c *FakeExternalSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ExternalSecret, err error)
Patch applies the patch and returns the patched externalSecret.
func (*FakeExternalSecrets) Update ¶
func (c *FakeExternalSecrets) Update(ctx context.Context, externalSecret *v1alpha1.ExternalSecret, opts v1.UpdateOptions) (result *v1alpha1.ExternalSecret, err error)
Update takes the representation of a externalSecret and updates it. Returns the server's representation of the externalSecret, and an error, if there is any.
func (*FakeExternalSecrets) UpdateStatus ¶
func (c *FakeExternalSecrets) UpdateStatus(ctx context.Context, externalSecret *v1alpha1.ExternalSecret, opts v1.UpdateOptions) (*v1alpha1.ExternalSecret, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeExternalSecrets) Watch ¶
func (c *FakeExternalSecrets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested externalSecrets.
type FakeSecretStores ¶
type FakeSecretStores struct { Fake *FakeAlibabacloudV1alpha1 // contains filtered or unexported fields }
FakeSecretStores implements SecretStoreInterface
func (*FakeSecretStores) Create ¶
func (c *FakeSecretStores) Create(ctx context.Context, secretStore *v1alpha1.SecretStore, opts v1.CreateOptions) (result *v1alpha1.SecretStore, err error)
Create takes the representation of a secretStore and creates it. Returns the server's representation of the secretStore, and an error, if there is any.
func (*FakeSecretStores) Delete ¶
func (c *FakeSecretStores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the secretStore and deletes it. Returns an error if one occurs.
func (*FakeSecretStores) DeleteCollection ¶
func (c *FakeSecretStores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSecretStores) Get ¶
func (c *FakeSecretStores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SecretStore, err error)
Get takes name of the secretStore, and returns the corresponding secretStore object, and an error if there is any.
func (*FakeSecretStores) List ¶
func (c *FakeSecretStores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SecretStoreList, err error)
List takes label and field selectors, and returns the list of SecretStores that match those selectors.
func (*FakeSecretStores) Patch ¶
func (c *FakeSecretStores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SecretStore, err error)
Patch applies the patch and returns the patched secretStore.
func (*FakeSecretStores) Update ¶
func (c *FakeSecretStores) Update(ctx context.Context, secretStore *v1alpha1.SecretStore, opts v1.UpdateOptions) (result *v1alpha1.SecretStore, err error)
Update takes the representation of a secretStore and updates it. Returns the server's representation of the secretStore, and an error, if there is any.
func (*FakeSecretStores) UpdateStatus ¶
func (c *FakeSecretStores) UpdateStatus(ctx context.Context, secretStore *v1alpha1.SecretStore, opts v1.UpdateOptions) (*v1alpha1.SecretStore, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSecretStores) Watch ¶
func (c *FakeSecretStores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested secretStores.