Documentation ¶
Index ¶
- Constants
- Variables
- func CertsSecret(user string) string
- func InitChownCerts(customImageRegistry string, permissions string, users []string, ...) (volumes []corev1.Volume, init corev1.Container)
- func SetQueriedForDatabase(queried map[string]interface{}, databaseCurrent *tree.Tree)
- func UserCert(user string) string
- func UserKey(user string) string
- type Connection
- type SSL
Constants ¶
View Source
const ( CACert = "ca.crt" CAKey = "ca.key" )
Variables ¶
View Source
var ErrNoCurrentState = errors.New("no current state for database found")
Functions ¶
func CertsSecret ¶
func InitChownCerts ¶
func SetQueriedForDatabase ¶
Types ¶
type Connection ¶
type Connection interface { Host() string Port() string User() string PasswordSecret() (*labels.Selectable, string) SSL() *SSL Options() string CACert() []byte CAKey() *rsa.PrivateKey }
func ParseQueriedForDatabase ¶
func ParseQueriedForDatabase(queried map[string]interface{}) (Connection, error)
Click to show internal directories.
Click to hide internal directories.