Documentation ¶
Index ¶
- func NewAdminSettingsDbAdapter(db port.DbAdapter) port.AdminSettingsAdapter
- func NewBaselinesApiAdapter() port.BaselinesAdapter
- func NewDbAdapter(params *DbAdapterParams) port.DbAdapter
- func NewSshFsAdapter() port.SshKernelAdapter
- func NewSshKernelApiAdapter() port.SshAdapter
- type AdminSettingsDbAdapter
- type BaselinesApiAdapter
- type DbAdapter
- func (a *DbAdapter) Connect() error
- func (a *DbAdapter) ConnectTo(driver string, dataSource string, retries int) error
- func (a *DbAdapter) Get() *types.DB
- func (a *DbAdapter) GetDBMSName() types.DbmsName
- func (a *DbAdapter) GetDbConfig() types.DbConfig
- func (a *DbAdapter) SetDBMSName(name types.DbmsName) error
- type DbAdapterParams
- type SshFsAdapter
- type SshKernelApiAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdminSettingsDbAdapter ¶ added in v0.16.0
func NewAdminSettingsDbAdapter(db port.DbAdapter) port.AdminSettingsAdapter
func NewBaselinesApiAdapter ¶ added in v0.13.0
func NewBaselinesApiAdapter() port.BaselinesAdapter
func NewDbAdapter ¶ added in v0.16.0
func NewDbAdapter(params *DbAdapterParams) port.DbAdapter
func NewSshFsAdapter ¶ added in v0.10.0
func NewSshFsAdapter() port.SshKernelAdapter
func NewSshKernelApiAdapter ¶ added in v0.10.0
func NewSshKernelApiAdapter() port.SshAdapter
Types ¶
type AdminSettingsDbAdapter ¶ added in v0.16.0
type AdminSettingsDbAdapter struct {
// contains filtered or unexported fields
}
func (*AdminSettingsDbAdapter) Get ¶ added in v0.16.0
func (a *AdminSettingsDbAdapter) Get() (types.AdminSettings, error)
func (*AdminSettingsDbAdapter) SetChannel ¶ added in v0.16.0
func (a *AdminSettingsDbAdapter) SetChannel(channel types.UpdatesChannel) error
func (*AdminSettingsDbAdapter) SetWebhook ¶ added in v0.16.0
func (a *AdminSettingsDbAdapter) SetWebhook(webhook string) error
type BaselinesApiAdapter ¶ added in v0.13.0
type BaselinesApiAdapter struct {
// contains filtered or unexported fields
}
func (*BaselinesApiAdapter) GetLatest ¶ added in v0.13.0
func (a *BaselinesApiAdapter) GetLatest(ctx context.Context, channel types.UpdatesChannel) (types.Baseline, error)
type DbAdapter ¶ added in v0.16.0
type DbAdapter struct {
// contains filtered or unexported fields
}
DbAdapter is an adapter to configure how Vertex will store data.
func (*DbAdapter) GetDBMSName ¶ added in v0.16.0
func (*DbAdapter) GetDbConfig ¶ added in v0.16.0
type DbAdapterParams ¶ added in v0.16.0
type DbAdapterParams struct {
// contains filtered or unexported fields
}
type SshFsAdapter ¶ added in v0.10.0
type SshFsAdapter struct { }
func (*SshFsAdapter) Add ¶ added in v0.10.0
func (a *SshFsAdapter) Add(key string, user user.User) error
type SshKernelApiAdapter ¶ added in v0.10.0
type SshKernelApiAdapter struct {
// contains filtered or unexported fields
}
func (*SshKernelApiAdapter) Add ¶ added in v0.10.0
func (a *SshKernelApiAdapter) Add(key string, username string) error
func (*SshKernelApiAdapter) GetAll ¶ added in v0.10.0
func (a *SshKernelApiAdapter) GetAll() ([]types.PublicKey, error)
Click to show internal directories.
Click to hide internal directories.