Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptString ¶
type EncryptString struct {
// contains filtered or unexported fields
}
func NewEncryptString ¶
func NewEncryptString(options ...OptionsFunc) *EncryptString
func (*EncryptString) Options ¶
func (c *EncryptString) Options(opts ...OptionsFunc)
Options configure the ReadSecretFromEnvVar
type MockEncryptString ¶
func NewMockEncryptString ¶
func NewMockEncryptString() *MockEncryptString
type OptionsFunc ¶
type OptionsFunc func(*EncryptString)
OptionsFunc is a function used to configure EncryptString
func WithReader ¶
func WithReader(reader PasswordReader) OptionsFunc
type PasswordReader ¶
Click to show internal directories.
Click to hide internal directories.