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