mirror of
https://github.com/status-im/sshfp-generator.git
synced 2025-03-02 21:20:28 +00:00
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)
|
||
|
}
|