Documentation ¶
Index ¶
- func Adapter(apiLabels *labels.API) operator.AdaptFunc
- type Current
- func (c *Current) CACert() []byte
- func (c *Current) CAKey() *rsa.PrivateKey
- func (c *Current) ConnectionParams(certsDir string) string
- func (c *Current) Host() string
- func (c *Current) Options() string
- func (c *Current) PasswordSecret() (*labels.Selectable, string)
- func (c *Current) Port() string
- func (c *Current) SSL() *db.SSL
- func (c *Current) User() string
- type DesiredV0
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Current ¶
type Current struct { Common *tree.Common `yaml:",inline"` Current struct { Host string Port string Cluster string User string PasswordSecret *labels.Selectable PasswordSecretKey string Secure bool CACert []byte CAKey *rsa.PrivateKey } }
func (*Current) CAKey ¶
func (c *Current) CAKey() *rsa.PrivateKey
func (*Current) ConnectionParams ¶
func (*Current) PasswordSecret ¶
func (c *Current) PasswordSecret() (*labels.Selectable, string)
type Spec ¶
type Spec struct { Verbose bool Host string Port uint16 Cluster string User string Certificate *secret.Secret `yaml:"certificate,omitempty"` ExistingCertificate *secret.Existing `yaml:"existingCertificate,omitempty"` CertificateKey *secret.Secret `yaml:"certificateKey,omitempty"` ExistingCertificateKey *secret.Existing `yaml:"existingCertificateKey,omitempty"` Password *secret.Secret `yaml:"password,omitempty"` ExistingPassword *secret.Existing `yaml:"existingPassword,omitempty"` }
Click to show internal directories.
Click to hide internal directories.