dbproxy

package
v2.42.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBProxyAPIConf

type DBProxyAPIConf struct {
	CACertificate *DBProxyCACertificateInfo `json:"ca_certificate,omitempty"`
	Chain         string                    `json:"ca_certificate_chain,omitempty"`
}

DBProxyAPIConf db proxy configuration definition.

type DBProxyCACertificateInfo

type DBProxyCACertificateInfo struct {
	Subject           string `json:"subject,omitempty"`
	Issuer            string `json:"issuer,omitempty"`
	Serial            string `json:"serial,omitempty"`
	NotBefore         string `json:"not_before,omitempty"`
	NotAfter          string `json:"not_after,omitempty"`
	FingerPrintSHA1   string `json:"fingerprint_sha1,omitempty"`
	FingerPrintSHA256 string `json:"fingerprint_sha256,omitempty"`
}

DBProxyCACertificateInfo db proxy x509 CA certificate definition.

type DbProxy

type DbProxy struct {
	// contains filtered or unexported fields
}

DbProxy is a db proxy client instance.

func New

func New(api restapi.Connector) *DbProxy

New db proxy client constructor.

func (*DbProxy) GetDbProxyConfig

func (c *DbProxy) GetDbProxyConfig() (*DBProxyAPIConf, error)

MARK: Config GetDbProxyConfig get db proxy configuration.

func (*DbProxy) Status

func (c *DbProxy) Status() (*response.ServiceStatus, error)

MARK: Status Status get db proxy microservice status.

Jump to

Keyboard shortcuts

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