Skip to content

Commit

Permalink
resource: Add some GoDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jan 12, 2018
1 parent 8a40989 commit 4dac178
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resource/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 4dac178

Please sign in to comment.