summaryrefslogtreecommitdiffhomepage
path: root/resource
diff options
context:
space:
mode:
Diffstat (limited to 'resource')
-rw-r--r--resource/resource.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/resource/resource.go b/resource/resource.go
index bb84aed79..bea53856e 100644
--- a/resource/resource.go
+++ b/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
}