dbproxy

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 information

type DBProxyConf

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

DBProxyConf DB proxy config definition

type DbProxy

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

DbProxy is a db proxy instance.

func New

func New(api restapi.Connector) *DbProxy

New creates a new db proxy client instance, using the argument SDK API client.

func (*DbProxy) DbProxyConf

func (store *DbProxy) DbProxyConf() (*DBProxyConf, error)

DbProxyConf get db proxy configuration

func (*DbProxy) DbProxyStatus

func (store *DbProxy) DbProxyStatus() (*common.ServiceStatus, error)

DbProxyStatus get microservice status

Jump to

Keyboard shortcuts

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