resource: Add some GoDoc

This commit is contained in:
Bjørn Erik Pedersen 2018-01-13 00:08:21 +01:00
parent 8a409894bd
commit 4dac1781e3
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -35,11 +35,15 @@ var (
const DefaultResourceType = "unknown"
// Source is an internal template and not meant for use in the templates. It
// may change without notice.
type Source interface {
AbsSourceFilename() string
Publish() error
}
// Cloner is an internal template and not meant for use in the templates. It
// may change without notice.
type Cloner interface {
WithNewBase(base string) Resource
}