feat(dir2config): defaults

This commit is contained in:
Mikaël Cluseau
2019-02-28 19:27:09 +11:00
parent d2b212ae6b
commit ea6fce68e1
383 changed files with 74236 additions and 41 deletions

20
pkg/clustersconfig/rev.go Normal file
View File

@ -0,0 +1,20 @@
package clustersconfig
type Rev interface {
Rev() string
SetRev(rev string)
}
type WithRev struct {
rev string
}
func (r *WithRev) Rev() string {
return r.rev
}
func (r *WithRev) SetRev(rev string) {
r.rev = rev
}
var _ Rev = &WithRev{}