dbconnectconfig

package
v0.4.66 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneralDbConnectConfig

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

func NewFromMssqlConnection

func NewFromMssqlConnection(config *mgmtv1alpha1.ConnectionConfig_MssqlConfig, connectionTimeout *uint32) (*GeneralDbConnectConfig, error)

func NewFromMysqlConnection

func NewFromMysqlConnection(config *mgmtv1alpha1.ConnectionConfig_MysqlConfig, connectionTimeout *uint32) (*GeneralDbConnectConfig, error)

func NewFromPostgresConnection

func NewFromPostgresConnection(config *mgmtv1alpha1.ConnectionConfig_PgConfig, connectionTimeout *uint32) (*GeneralDbConnectConfig, error)

func (*GeneralDbConnectConfig) GetDriver

func (g *GeneralDbConnectConfig) GetDriver() string

func (*GeneralDbConnectConfig) GetHost

func (g *GeneralDbConnectConfig) GetHost() string

func (*GeneralDbConnectConfig) GetPort

func (g *GeneralDbConnectConfig) GetPort() *int32

func (*GeneralDbConnectConfig) GetUser

func (g *GeneralDbConnectConfig) GetUser() string

func (*GeneralDbConnectConfig) SetHost

func (g *GeneralDbConnectConfig) SetHost(host string)

func (*GeneralDbConnectConfig) SetPort

func (g *GeneralDbConnectConfig) SetPort(port int32)

func (*GeneralDbConnectConfig) String

func (g *GeneralDbConnectConfig) String() string

Jump to

Keyboard shortcuts

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