adapter

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBaselinesApiAdapter added in v0.13.0

func NewBaselinesApiAdapter() port.BaselinesAdapter

func NewSettingsFSAdapter

func NewSettingsFSAdapter(params *SettingsFSAdapterParams) port.SettingsAdapter

func NewSshFsAdapter added in v0.10.0

func NewSshFsAdapter(params *SshFsAdapterParams) port.SshAdapter

func NewSshKernelApiAdapter added in v0.10.0

func NewSshKernelApiAdapter() port.SshAdapter

Types

type BaselinesApiAdapter added in v0.13.0

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

func (*BaselinesApiAdapter) GetLatest added in v0.13.0

type SettingsFSAdapter

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

func (*SettingsFSAdapter) GetChannel added in v0.9.3

func (*SettingsFSAdapter) GetNotificationsWebhook

func (a *SettingsFSAdapter) GetNotificationsWebhook() *string

func (*SettingsFSAdapter) GetSettings

func (a *SettingsFSAdapter) GetSettings() types.Settings

func (*SettingsFSAdapter) SetChannel added in v0.9.3

func (a *SettingsFSAdapter) SetChannel(channel types.SettingsUpdatesChannel) error

func (*SettingsFSAdapter) SetNotificationsWebhook

func (a *SettingsFSAdapter) SetNotificationsWebhook(webhook string) error

type SettingsFSAdapterParams

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

type SshFsAdapter added in v0.10.0

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

func (*SshFsAdapter) Add added in v0.10.0

func (a *SshFsAdapter) Add(key string) error

func (*SshFsAdapter) GetAll added in v0.10.0

func (a *SshFsAdapter) GetAll() ([]types.PublicKey, error)

func (*SshFsAdapter) Remove added in v0.10.0

func (a *SshFsAdapter) Remove(fingerprint string) error

type SshFsAdapterParams added in v0.10.0

type SshFsAdapterParams struct {
	AuthorizedKeysPath string
}

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) error

func (*SshKernelApiAdapter) GetAll added in v0.10.0

func (a *SshKernelApiAdapter) GetAll() ([]types.PublicKey, error)

func (*SshKernelApiAdapter) Remove added in v0.10.0

func (a *SshKernelApiAdapter) Remove(fingerprint string) error

Jump to

Keyboard shortcuts

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