Documentation
¶
Index ¶
- func SafeSlice(str string, start int, end int) string
- type AWS
- type ConfigstoreClient
- func (c *ConfigstoreClient) Decrypt(key string) error
- func (c *ConfigstoreClient) Encrypt(key string) error
- func (c *ConfigstoreClient) Exists(key string) bool
- func (c *ConfigstoreClient) Get(key string) (string, error)
- func (c *ConfigstoreClient) GetAll(skipDecryption bool) (map[string]ConfigstoreDBValue, error)
- func (c *ConfigstoreClient) GetAllKeys(keyFilter string) []string
- func (c *ConfigstoreClient) GetAllValues(skipDecryption bool) (map[string]string, error)
- func (c *ConfigstoreClient) GetAsKMSEncrypted(key string) (string, error)
- func (c *ConfigstoreClient) ProcessTemplateString(t string) (string, error)
- func (c *ConfigstoreClient) Set(key string, rawValue []byte, isSecret bool, isBinary bool) error
- func (c *ConfigstoreClient) TestTemplateString(t string) (bool, error)
- func (c *ConfigstoreClient) Unset(key string) error
- type ConfigstoreDB
- type ConfigstoreDBValue
- type Encryption
- type KMS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigstoreClient ¶
type ConfigstoreClient struct {
// contains filtered or unexported fields
}
func InitConfigstore ¶
func NewConfigstoreClient ¶
func NewConfigstoreClient(dbFile string, overrideFiles []string, ignoreRole bool) (*ConfigstoreClient, error)
func (*ConfigstoreClient) Decrypt ¶
func (c *ConfigstoreClient) Decrypt(key string) error
func (*ConfigstoreClient) Encrypt ¶
func (c *ConfigstoreClient) Encrypt(key string) error
func (*ConfigstoreClient) Exists ¶
func (c *ConfigstoreClient) Exists(key string) bool
func (*ConfigstoreClient) GetAll ¶
func (c *ConfigstoreClient) GetAll(skipDecryption bool) (map[string]ConfigstoreDBValue, error)
func (*ConfigstoreClient) GetAllKeys ¶
func (c *ConfigstoreClient) GetAllKeys(keyFilter string) []string
func (*ConfigstoreClient) GetAllValues ¶
func (c *ConfigstoreClient) GetAllValues(skipDecryption bool) (map[string]string, error)
func (*ConfigstoreClient) GetAsKMSEncrypted ¶
func (c *ConfigstoreClient) GetAsKMSEncrypted(key string) (string, error)
func (*ConfigstoreClient) ProcessTemplateString ¶
func (c *ConfigstoreClient) ProcessTemplateString(t string) (string, error)
func (*ConfigstoreClient) TestTemplateString ¶
func (c *ConfigstoreClient) TestTemplateString(t string) (bool, error)
func (*ConfigstoreClient) Unset ¶
func (c *ConfigstoreClient) Unset(key string) error
type ConfigstoreDB ¶
type ConfigstoreDBValue ¶
type Encryption ¶
type Encryption struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.