Documentation ¶
Index ¶
- Constants
- Variables
- func CommandExport() *cli.Command
- func CommandFind() *cli.Command
- func CommandList() *cli.Command
- func CommandNew() *cli.Command
- func CommandPatch() *cli.Command
- func CommandRemove() *cli.Command
- func CommandSimilar() *cli.Command
- func CommandTitle() *cli.Command
- func CommandURLName() *cli.Command
- func CommandUpload() *cli.Command
- func CommandUser() *cli.Command
- func CommandVersion() *cli.Command
- func Metrics(c *cli.Context) error
- type Encoder
- type Grab
- type InvalidVersionError
- type Runtime
- type SmugmugFunc
Constants ¶
View Source
const RuntimeKey = "github.com/bzimmer/ma#RuntimeKey"
RuntimeKey in app metadata
Variables ¶
View Source
var ErrFileExists = errors.New("foo")
View Source
var ErrInvalidURLName = errors.New("node url name must start with a number or capital letter")
Functions ¶
func CommandExport ¶
func CommandExport() *cli.Command
func CommandFind ¶
func CommandFind() *cli.Command
func CommandList ¶
func CommandList() *cli.Command
func CommandNew ¶
func CommandNew() *cli.Command
func CommandPatch ¶
func CommandPatch() *cli.Command
func CommandRemove ¶ added in v0.5.3
func CommandRemove() *cli.Command
func CommandSimilar ¶ added in v0.5.4
func CommandSimilar() *cli.Command
func CommandTitle ¶ added in v0.7.4
func CommandTitle() *cli.Command
func CommandURLName ¶ added in v0.3.1
func CommandURLName() *cli.Command
func CommandUpload ¶
func CommandUpload() *cli.Command
func CommandUser ¶
func CommandUser() *cli.Command
func CommandVersion ¶
func CommandVersion() *cli.Command
Types ¶
type InvalidVersionError ¶ added in v0.7.0
type InvalidVersionError struct {
ImageKey string
}
func (*InvalidVersionError) Error ¶ added in v0.7.0
func (x *InvalidVersionError) Error() string
type Runtime ¶
type Runtime struct { // Encoder encodes a struct Encoder Encoder // Smugmug returns a smugmug client Smugmug SmugmugFunc // Sink for metrics Sink *metrics.InmemSink // Metrics for capturing metrics Metrics *metrics.Metrics // Fs for file access Fs afero.Fs // Grab for bulk querying images Grab Grab // Language for title case Language language.Tag // Start time of the execution Start time.Time }
Runtime for access to runtime components
type SmugmugFunc ¶ added in v0.7.12
SmugmugFunc returns a smugmug client panics if credentials are not provided
Source Files ¶
Click to show internal directories.
Click to hide internal directories.