Versions in this module Expand all Collapse all v0 v0.9.0 Jan 31, 2021 Changes in this version + const DatastoreProductions + const DatastoreResources + func CreateProduction(ctx context.Context, name, title, summary, clientID string) (*a.Production, error) + func DeleteResource(ctx context.Context, guid string) error + func FindProductionByName(ctx context.Context, name string) (*a.Production, error) + func FindProductionsByOwner(ctx context.Context, owner string) ([]*a.Production, error) + func FindResource(ctx context.Context, parent, name string) (*a.Resource, error) + func GetProduction(ctx context.Context, guid string) (*a.Production, error) + func GetResource(ctx context.Context, guid string) (*a.Resource, error) + func GetResourceContent(ctx context.Context, guid string) (interface{}, error) + func ListResources(ctx context.Context, parent, kind string) ([]*a.Resource, error) + func ReadResource(ctx context.Context, path string) (interface{}, string, string, error) + func RemoveAsset(ctx context.Context, path string) error + func RemoveResource(ctx context.Context, path string) error + func UpdateAssetResource(ctx context.Context, name, guid, kind, parent, location, contentType string, ...) error + func UpdateEpisode(ctx context.Context, location string, episode *a.Episode) error + func UpdateProduction(ctx context.Context, p *a.Production) error + func UpdateResource(ctx context.Context, name, guid, kind, parent, location string) error + func UpdateShow(ctx context.Context, location string, show *a.Show) error + func WriteResourceContent(ctx context.Context, path string, create, force bool, rsrc interface{}) error