mirror of
https://github.com/status-im/sshfp-generator.git
synced 2025-03-02 05:00:32 +00:00
Fully working version. TODO: Few minor changes Signed-off-by: Artur Marud <artur@status.im>
9 lines
311 B
Go
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)
|
|
}
|