fake

package
v0.9.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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 (*AkeylessMockClient) GetSecretByType

func (mc *AkeylessMockClient) GetSecretByType(_ context.Context, secretName, token string, version int32) (string, error)

func (*AkeylessMockClient) ListSecrets added in v0.7.3

func (mc *AkeylessMockClient) ListSecrets(_ context.Context, _, _, _ string) ([]string, error)

func (*AkeylessMockClient) TokenFromSecretRef

func (mc *AkeylessMockClient) TokenFromSecretRef(_ context.Context) (string, error)

func (*AkeylessMockClient) WithValue

func (mc *AkeylessMockClient) WithValue(_ *Input, out *Output)

type Input

type Input struct {
	SecretName string
	Token      string
	Version    int32
}

type Output

type Output struct {
	Value string
	Err   error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL