Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encryptor

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

func New

func New(
	logger lager.Logger,
	db db.EncryptionDB,
	keyManager encryption.KeyManager,
	cryptor encryption.Cryptor,
	clock clock.Clock,
	metronClient loggingclient.IngressClient,
) Encryptor

func (Encryptor) Run

func (m Encryptor) Run(signals <-chan os.Signal, ready chan<- struct{}) error