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 ¶
func (repo *RemoteConnectionRepositoryImpl) GetById(id int) (*RemoteConnectionConfig, error)
Click to show internal directories.
Click to hide internal directories.