Bjørn Erik Pedersen
8 years ago
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F
1 changed files with
4 additions and
0 deletions
-
resource/resource.go
|
|
@ -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 |
|
|
|
} |
|
|
|