Documentation ¶
Index ¶
- func ConvertStringForSecrets(filepath string, forward bool) string
- func IsValidPostgressDatasource(datasourceStr string) bool
- func ValidCryptoInput(certFile, keyFile string) error
- type Config
- func (c *Config) CAMountPath()
- func (c *Config) DBMountPath()
- func (c *Config) EnsureDirAndWriteFile(location string, data []byte) error
- func (c *Config) GetHomeDir() string
- func (c *Config) GetServerConfig() *v1.ServerConfig
- func (c *Config) GetSigningKey(path string) ([]byte, error)
- func (c *Config) GetTLSCrypto() map[string][]byte
- func (c *Config) HandleCertInput(input, location string, store map[string][]byte) error
- func (c *Config) HandleKeyInput(input, location string, store map[string][]byte) error
- func (c *Config) IntermediateMountPath()
- func (c *Config) OperationsMountPath()
- func (c *Config) ParseCABlock() (map[string][]byte, error)
- func (c *Config) ParseDBBlock() (map[string][]byte, error)
- func (c *Config) ParseIntermediateBlock() (map[string][]byte, error)
- func (c *Config) ParseOperationsBlock() (map[string][]byte, error)
- func (c *Config) ParseTLSBlock() (map[string][]byte, error)
- func (c *Config) SetMountPaths(caType Type)
- func (c *Config) SetServerConfig(cfg *v1.ServerConfig)
- func (c *Config) SetUpdate(update bool)
- func (c *Config) StoreInMap(data []byte, location string, store map[string][]byte) error
- func (c *Config) TLSMountPath()
- func (c *Config) UsingPKCS11() bool
- type DBType
- type InputType
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStringForSecrets ¶
func ValidCryptoInput ¶
Types ¶
type Config ¶
type Config struct { ServerConfig *v1.ServerConfig HomeDir string MountPath string Update bool SqlitePath string // contains filtered or unexported fields }
func (*Config) CAMountPath ¶
func (c *Config) CAMountPath()
func (*Config) DBMountPath ¶
func (c *Config) DBMountPath()
func (*Config) EnsureDirAndWriteFile ¶
func (*Config) GetHomeDir ¶
func (*Config) GetServerConfig ¶
func (c *Config) GetServerConfig() *v1.ServerConfig
func (*Config) GetSigningKey ¶
GetSigningKey applies to non-hsm use cases where the key exists on the filesystem. The filesystem is read and then key is then stored in a kubernetes secret.
func (*Config) GetTLSCrypto ¶
func (*Config) HandleCertInput ¶
func (*Config) HandleKeyInput ¶
func (*Config) IntermediateMountPath ¶
func (c *Config) IntermediateMountPath()
func (*Config) OperationsMountPath ¶
func (c *Config) OperationsMountPath()
func (*Config) ParseIntermediateBlock ¶
func (*Config) ParseOperationsBlock ¶
func (*Config) SetMountPaths ¶
func (*Config) SetServerConfig ¶
func (c *Config) SetServerConfig(cfg *v1.ServerConfig)
func (*Config) StoreInMap ¶
func (*Config) TLSMountPath ¶
func (c *Config) TLSMountPath()
func (*Config) UsingPKCS11 ¶
Click to show internal directories.
Click to hide internal directories.