kmsiface

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KMSAPI

type KMSAPI interface {
	Import(*kms.ImportInput) (*kms.ImportOutput, error)
	ImportWithContext(context.Context, *kms.ImportInput) (*kms.ImportOutput, error)
	Encrypt(*kms.EncryptInput) (*kms.EncryptOutput, error)
	EncryptWithContext(context.Context, *kms.EncryptInput) (*kms.EncryptOutput, error)
	Decrypt(*kms.DecryptInput) (*kms.DecryptOutput, error)
	DecryptWithContext(context.Context, *kms.DecryptInput) (*kms.DecryptOutput, error)
}

KMSAPI provides an interface to enable mocking the kms.KMS service client's API calls. This makes unit testing easier.

Jump to

Keyboard shortcuts

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