Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeService

type FakeService struct {
	SealAndSaveFn        func(plaintextSecret string, secretMeta *core.SecretMeta, committer state.Committer) error
	SealAndSaveCallCount int
}

func (*FakeService) SealAndSave

func (f *FakeService) SealAndSave(plaintextSecret string, secretMeta *core.SecretMeta, committer state.Committer) error

type Service

type Service interface {
	SealAndSave(plaintextSecret string, secretMeta *core.SecretMeta, committer state.Committer) error
}

func NewService

func NewService(secretMetas core.SecretMetaRepository, environments core.EnvironmentRepository) Service