Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockModifier ¶
type MockModifier struct {
Val string
Err error
ArgToVal map[string]string
// contains filtered or unexported fields
}
MockModifier implements types.SecretModifier for testing
func NewMockModifier ¶
func NewMockModifier(typ string) *MockModifier
NewMockModifier creates a new MockModifier with the required typ field
func (*MockModifier) Type ¶
func (m *MockModifier) Type() string
type MockSource ¶
MockSource implements spelunk.SecretSource for testing
func NewMockSource ¶
func NewMockSource(typ string) *MockSource
NewMockSource creates a new MockSource with the required typ field
func (*MockSource) DigUp ¶
func (m *MockSource) DigUp(_ context.Context, _ types.SecretCoord) (string, error)
func (*MockSource) Type ¶
func (m *MockSource) Type() string
Click to show internal directories.
Click to hide internal directories.