keyvault

package
v10.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeKeyVaultClient

func NewFakeKeyVaultClient(rp *VaultRP) keyvault.KeyVaultClient

NewFakeKeyVaultClient creates a new Fake instance

Types

type FakeKeyVaultClient

type FakeKeyVaultClient struct {
	// contains filtered or unexported fields
}

FakeKeyVaultClient is a Fake of KeyVaultClient interface

func (*FakeKeyVaultClient) GetSecret

func (kv *FakeKeyVaultClient) GetSecret(ctx context.Context, vaultBaseURL string, secretName string, secretVersion string) (result azkeyvault.SecretBundle, err error)

GetSecret Fakes base method

func (*FakeKeyVaultClient) ImportCertificate

ImportCertificate Fakes base method

type VaultRP

type VaultRP struct {
	Log     *logrus.Entry
	Calls   []string
	Secrets []azkeyvault.SecretBundle
}

Jump to

Keyboard shortcuts

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