current

package
v1.87.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Current

type Current struct {
	Common  *tree.Common `yaml:",inline"`
	Current *CurrentDB
}

func (*Current) CACert

func (c *Current) CACert() []byte

func (*Current) CAKey

func (c *Current) CAKey() *rsa.PrivateKey

func (*Current) Host

func (c *Current) Host() string

func (*Current) Options

func (c *Current) Options() string

func (*Current) PasswordSecret

func (c *Current) PasswordSecret() (*labels.Selectable, string)

func (*Current) Port

func (c *Current) Port() string

func (*Current) SSL

func (c *Current) SSL() *db.SSL

func (*Current) SetCertificate

func (c *Current) SetCertificate(cert []byte)

func (*Current) SetCertificateKey

func (c *Current) SetCertificateKey(key *rsa.PrivateKey)

func (*Current) User

func (c *Current) User() string

type CurrentDB

type CurrentDB struct {
	URL               string
	Port              string
	User              string
	PasswordSecret    *labels.Selectable
	PasswordSecretKey string
	CA                *cacurr.Current
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL