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 ¶
func (kv *FakeKeyVaultClient) ImportCertificate(arg0 context.Context, arg1, arg2 string, arg3 azkeyvault.CertificateImportParameters) (azkeyvault.CertificateBundle, error)
ImportCertificate Fakes base method
type VaultRP ¶
type VaultRP struct { Log *logrus.Entry Secrets []azkeyvault.SecretBundle }
Click to show internal directories.
Click to hide internal directories.