2
0
mirror of https://github.com/status-im/sshfp-generator.git synced 2025-03-02 05:00:32 +00:00
Artur Marud be748b44d6
sshfp-generator: initial commit.
Fully working version.
TODO: Few minor changes

Signed-off-by: Artur Marud <artur@status.im>
2022-06-24 02:47:20 +02:00

9 lines
311 B
Go

package sshfp
type Service interface {
ParseConsulSSHRecord(key string, value string) (*SSHFPRecord, error)
ParseConsulSSHRecords(records map[string]string) []*SSHFPRecord
PrepareConfiguration(hostname string, current []*SSHFPRecord, new []*SSHFPRecord) ConfigPlan
PrintConfigPlan(configPlan ConfigPlan)
}