Documentation ¶
Index ¶
- type AkeylessMockClient
- func (mc *AkeylessMockClient) CreateSecret(ctx context.Context, remoteKey, data string) error
- func (mc *AkeylessMockClient) DeleteSecret(ctx context.Context, remoteKey string) error
- func (mc *AkeylessMockClient) DescribeItem(ctx context.Context, itemName string) (*akeyless.Item, error)
- func (mc *AkeylessMockClient) GetSecretByType(_ context.Context, secretName string, version int32) (string, error)
- func (mc *AkeylessMockClient) ListSecrets(_ context.Context, _, _ string) ([]string, error)
- func (mc *AkeylessMockClient) SetCreateSecretFn(f func(ctx context.Context, remoteKey, data string) error) *AkeylessMockClient
- func (mc *AkeylessMockClient) SetDeleteSecretFn(f func(ctx context.Context, remoteKey string) error) *AkeylessMockClient
- func (mc *AkeylessMockClient) SetDescribeItemFn(f func(ctx context.Context, itemName string) (*akeyless.Item, error)) *AkeylessMockClient
- func (mc *AkeylessMockClient) SetGetSecretFn(f func(secretName string, version int32) (string, error)) *AkeylessMockClient
- func (mc *AkeylessMockClient) SetUpdateSecretFn(f func(ctx context.Context, remoteKey, data string) error) *AkeylessMockClient
- func (mc *AkeylessMockClient) TokenFromSecretRef(_ context.Context) (string, error)
- func (mc *AkeylessMockClient) UpdateSecret(ctx context.Context, remoteKey, data string) error
- func (mc *AkeylessMockClient) WithValue(_ *Input, out *Output)
- type Input
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AkeylessMockClient ¶
type AkeylessMockClient struct {
// contains filtered or unexported fields
}
func New ¶ added in v0.10.4
func New() *AkeylessMockClient
func (*AkeylessMockClient) CreateSecret ¶ added in v0.10.4
func (mc *AkeylessMockClient) CreateSecret(ctx context.Context, remoteKey, data string) error
func (*AkeylessMockClient) DeleteSecret ¶ added in v0.10.4
func (mc *AkeylessMockClient) DeleteSecret(ctx context.Context, remoteKey string) error
func (*AkeylessMockClient) DescribeItem ¶ added in v0.10.4
func (*AkeylessMockClient) GetSecretByType ¶
func (*AkeylessMockClient) ListSecrets ¶ added in v0.7.3
func (*AkeylessMockClient) SetCreateSecretFn ¶ added in v0.10.4
func (mc *AkeylessMockClient) SetCreateSecretFn(f func(ctx context.Context, remoteKey, data string) error) *AkeylessMockClient
func (*AkeylessMockClient) SetDeleteSecretFn ¶ added in v0.10.4
func (mc *AkeylessMockClient) SetDeleteSecretFn(f func(ctx context.Context, remoteKey string) error) *AkeylessMockClient
func (*AkeylessMockClient) SetDescribeItemFn ¶ added in v0.10.4
func (mc *AkeylessMockClient) SetDescribeItemFn(f func(ctx context.Context, itemName string) (*akeyless.Item, error)) *AkeylessMockClient
func (*AkeylessMockClient) SetGetSecretFn ¶ added in v0.10.4
func (mc *AkeylessMockClient) SetGetSecretFn(f func(secretName string, version int32) (string, error)) *AkeylessMockClient
func (*AkeylessMockClient) SetUpdateSecretFn ¶ added in v0.10.4
func (mc *AkeylessMockClient) SetUpdateSecretFn(f func(ctx context.Context, remoteKey, data string) error) *AkeylessMockClient
func (*AkeylessMockClient) TokenFromSecretRef ¶
func (mc *AkeylessMockClient) TokenFromSecretRef(_ context.Context) (string, error)
func (*AkeylessMockClient) UpdateSecret ¶ added in v0.10.4
func (mc *AkeylessMockClient) UpdateSecret(ctx context.Context, remoteKey, data string) error
func (*AkeylessMockClient) WithValue ¶
func (mc *AkeylessMockClient) WithValue(_ *Input, out *Output)
Click to show internal directories.
Click to hide internal directories.