Documentation
¶
Index ¶
- Constants
- func Assemble(ctx context.Context, root string, force bool) error
- func Build(ctx context.Context, root string, validateOnly, buildOnly, purge bool) (string, error)
- func ImportResource(ctx context.Context, parent, root string, encl *podops.AssetRef) error
- func LoadAssetRef(path string) (*podops.AssetRef, error)
- func MoveResource(ctx context.Context, src, target string) error
- func ParseDuration(duration int64) string
- func ResolveResource(ctx context.Context, parent, root string, force bool, encl *podops.AssetRef) error
- func ValidateResource(ctx context.Context, parent, root string, encl *podops.AssetRef) error
- type EpisodeList
Constants ¶
View Source
const ( DefaultFeedName = "feed.xml" DefaultShowName = "show.yaml" )
Variables ¶
This section is empty.
Functions ¶
func Assemble ¶ added in v0.10.0
Assemble collects all referenced podcast resources (.mp3, .gif, .png etc) and puts them into the local build location.
func ImportResource ¶ added in v0.10.0
ImportResource imports a resource from src and places it into the local build location
func MoveResource ¶ added in v0.10.0
func ParseDuration ¶ added in v0.10.0
ParseDuration converts seconds duration into HH:MM:SS format
Types ¶
type EpisodeList ¶
EpisodeList holds the list of valid episodes that will be added to a podcast
func (EpisodeList) Len ¶
func (e EpisodeList) Len() int
func (EpisodeList) Less ¶
func (e EpisodeList) Less(i, j int) bool
func (EpisodeList) Swap ¶
func (e EpisodeList) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.