Documentation ¶
Index ¶
- type GeneralDbConnectConfig
- func NewFromMssqlConnection(config *mgmtv1alpha1.ConnectionConfig_MssqlConfig, connectionTimeout *uint32) (*GeneralDbConnectConfig, error)
- func NewFromMysqlConnection(config *mgmtv1alpha1.ConnectionConfig_MysqlConfig, connectionTimeout *uint32) (*GeneralDbConnectConfig, error)
- func NewFromPostgresConnection(config *mgmtv1alpha1.ConnectionConfig_PgConfig, connectionTimeout *uint32) (*GeneralDbConnectConfig, error)
- func (g *GeneralDbConnectConfig) GetDriver() string
- func (g *GeneralDbConnectConfig) GetHost() string
- func (g *GeneralDbConnectConfig) GetPort() *int32
- func (g *GeneralDbConnectConfig) GetUser() string
- func (g *GeneralDbConnectConfig) SetHost(host string)
- func (g *GeneralDbConnectConfig) SetPort(port int32)
- func (g *GeneralDbConnectConfig) String() string
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
Click to show internal directories.
Click to hide internal directories.