remoteConnection

package
v0.0.0-...-1859c74 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteConnectionConfig

type RemoteConnectionConfig struct {
	Id               int                                         `sql:"id,pk"`
	ConnectionMethod remoteConnectionBean.RemoteConnectionMethod `sql:"connection_method"`
	ProxyUrl         string                                      `sql:"proxy_url"`
	SSHServerAddress string                                      `sql:"ssh_server_address"`
	SSHUsername      string                                      `sql:"ssh_username"`
	SSHPassword      string                                      `sql:"ssh_password"`
	SSHAuthKey       string                                      `sql:"ssh_auth_key"`
	Deleted          bool                                        `sql:"deleted,notnull"`
	sql.AuditLog
	// contains filtered or unexported fields
}

type RemoteConnectionRepository

type RemoteConnectionRepository interface {
	GetById(id int) (*RemoteConnectionConfig, error)
}

type RemoteConnectionRepositoryImpl

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

func NewRemoteConnectionRepositoryImpl

func NewRemoteConnectionRepositoryImpl(dbConnection *pg.DB, logger *zap.SugaredLogger) *RemoteConnectionRepositoryImpl

func (*RemoteConnectionRepositoryImpl) GetById

Jump to

Keyboard shortcuts

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