Documentation ¶
Index ¶
- Variables
- type Asset
- func NewAsset(r *AssetRoot, p string) Asset
- func NewERBAsset(r *AssetRoot, input Asset, p string) Asset
- func NewESLintAsset(r *AssetRoot, input Asset, p string) Asset
- func NewJSXAsset(r *AssetRoot, input Asset, p string) Asset
- func NewJavaScriptAsset(r *AssetRoot, input Asset, p string) Asset
- func NewSCSSAsset(r *AssetRoot, input Asset, p string) Asset
- type AssetRoot
- type Cache
- type CachedAsset
- func (a *CachedAsset) Checksum() string
- func (a *CachedAsset) Compile() (io.Reader, error)
- func (a *CachedAsset) ImportPaths() []string
- func (a *CachedAsset) IndexKey() string
- func (a *CachedAsset) Initialize() error
- func (a *CachedAsset) Open() (*os.File, error)
- func (a *CachedAsset) OutputExt() string
- func (a *CachedAsset) OutputPath() string
- func (a *CachedAsset) Path() string
- func (a *CachedAsset) RelPath() (string, error)
- func (a *CachedAsset) SetIndexKey(key string)
- type Config
- type ERBAsset
- func (a *ERBAsset) Checksum() string
- func (a *ERBAsset) Compile() (io.Reader, error)
- func (a *ERBAsset) ImportPaths() []string
- func (a *ERBAsset) IndexKey() string
- func (a *ERBAsset) Initialize() error
- func (a *ERBAsset) Open() (*os.File, error)
- func (a *ERBAsset) OutputExt() string
- func (a *ERBAsset) OutputPath() string
- func (a *ERBAsset) Path() string
- func (a *ERBAsset) RelPath() (string, error)
- func (a *ERBAsset) SetIndexKey(key string)
- type ESLintAsset
- func (a *ESLintAsset) Checksum() string
- func (a *ESLintAsset) Compile() (io.Reader, error)
- func (a *ESLintAsset) ImportPaths() []string
- func (a *ESLintAsset) IndexKey() string
- func (a *ESLintAsset) Initialize() error
- func (a *ESLintAsset) Open() (*os.File, error)
- func (a *ESLintAsset) OutputExt() string
- func (a *ESLintAsset) OutputPath() string
- func (a *ESLintAsset) Path() string
- func (a *ESLintAsset) RelPath() (string, error)
- func (a *ESLintAsset) SetIndexKey(k string)
- type GenericAsset
- func (a *GenericAsset) Checksum() string
- func (a *GenericAsset) Compile() (io.Reader, error)
- func (a *GenericAsset) ImportPaths() []string
- func (a *GenericAsset) IndexKey() string
- func (a *GenericAsset) Initialize() error
- func (a *GenericAsset) Open() (*os.File, error)
- func (a *GenericAsset) OutputExt() string
- func (a *GenericAsset) OutputPath() string
- func (a *GenericAsset) Path() string
- func (a *GenericAsset) RelPath() (string, error)
- func (a *GenericAsset) SetIndexKey(k string)
- type JSXAsset
- func (a *JSXAsset) Checksum() string
- func (a *JSXAsset) Compile() (io.Reader, error)
- func (a *JSXAsset) ImportPaths() []string
- func (a *JSXAsset) IndexKey() string
- func (a *JSXAsset) Initialize() error
- func (a *JSXAsset) Open() (*os.File, error)
- func (a *JSXAsset) OutputExt() string
- func (a *JSXAsset) OutputPath() string
- func (a *JSXAsset) Path() string
- func (a *JSXAsset) RelPath() (string, error)
- func (a *JSXAsset) SetIndexKey(key string)
- type JavaScriptAsset
- func (a *JavaScriptAsset) Checksum() string
- func (a *JavaScriptAsset) Compile() (io.Reader, error)
- func (a *JavaScriptAsset) ImportPaths() []string
- func (a *JavaScriptAsset) IndexKey() string
- func (a *JavaScriptAsset) Initialize() error
- func (a *JavaScriptAsset) Open() (*os.File, error)
- func (a *JavaScriptAsset) OutputExt() string
- func (a *JavaScriptAsset) OutputPath() string
- func (a *JavaScriptAsset) Path() string
- func (a *JavaScriptAsset) RelPath() (string, error)
- func (a *JavaScriptAsset) SetIndexKey(k string)
- type Manifest
- type Matrix
- type SCSSAsset
- func (a *SCSSAsset) Checksum() string
- func (a *SCSSAsset) Compile() (io.Reader, error)
- func (a *SCSSAsset) ImportPaths() []string
- func (a *SCSSAsset) IndexKey() string
- func (a *SCSSAsset) Initialize() error
- func (a *SCSSAsset) Open() (*os.File, error)
- func (a *SCSSAsset) OutputExt() string
- func (a *SCSSAsset) OutputPath() string
- func (a *SCSSAsset) Path() string
- func (a *SCSSAsset) RelPath() (string, error)
- func (a *SCSSAsset) SetIndexKey(key string)
Constants ¶
This section is empty.
Variables ¶
View Source
var AssetNotFoundError = errors.New("Asset not found")
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type AssetRoot ¶
type AssetRoot struct { Path string GitRepo string GitBranch string GitRef string ESLintConfigPath string Log log.Logger // contains filtered or unexported fields }
func (*AssetRoot) SetCacheBreaker ¶
type Cache ¶
type Cache struct { Dir string // contains filtered or unexported fields }
func (*Cache) CleanupCacheDir ¶
type CachedAsset ¶
type CachedAsset struct {
// contains filtered or unexported fields
}
func (*CachedAsset) Checksum ¶
func (a *CachedAsset) Checksum() string
func (*CachedAsset) ImportPaths ¶
func (a *CachedAsset) ImportPaths() []string
func (*CachedAsset) IndexKey ¶
func (a *CachedAsset) IndexKey() string
func (*CachedAsset) Initialize ¶
func (a *CachedAsset) Initialize() error
func (*CachedAsset) OutputExt ¶
func (a *CachedAsset) OutputExt() string
func (*CachedAsset) OutputPath ¶
func (a *CachedAsset) OutputPath() string
func (*CachedAsset) Path ¶
func (a *CachedAsset) Path() string
func (*CachedAsset) RelPath ¶
func (a *CachedAsset) RelPath() (string, error)
func (*CachedAsset) SetIndexKey ¶
func (a *CachedAsset) SetIndexKey(key string)
type ERBAsset ¶
type ERBAsset struct {
// contains filtered or unexported fields
}
func (*ERBAsset) ImportPaths ¶
func (*ERBAsset) Initialize ¶
func (*ERBAsset) OutputPath ¶
func (*ERBAsset) SetIndexKey ¶
type ESLintAsset ¶
type ESLintAsset struct {
// contains filtered or unexported fields
}
func (*ESLintAsset) Checksum ¶
func (a *ESLintAsset) Checksum() string
func (*ESLintAsset) ImportPaths ¶
func (a *ESLintAsset) ImportPaths() []string
func (*ESLintAsset) IndexKey ¶
func (a *ESLintAsset) IndexKey() string
func (*ESLintAsset) Initialize ¶
func (a *ESLintAsset) Initialize() error
func (*ESLintAsset) OutputExt ¶
func (a *ESLintAsset) OutputExt() string
func (*ESLintAsset) OutputPath ¶
func (a *ESLintAsset) OutputPath() string
func (*ESLintAsset) Path ¶
func (a *ESLintAsset) Path() string
func (*ESLintAsset) RelPath ¶
func (a *ESLintAsset) RelPath() (string, error)
func (*ESLintAsset) SetIndexKey ¶
func (a *ESLintAsset) SetIndexKey(k string)
type GenericAsset ¶
type GenericAsset struct {
// contains filtered or unexported fields
}
func (*GenericAsset) Checksum ¶
func (a *GenericAsset) Checksum() string
func (*GenericAsset) ImportPaths ¶
func (a *GenericAsset) ImportPaths() []string
func (*GenericAsset) IndexKey ¶
func (a *GenericAsset) IndexKey() string
func (*GenericAsset) Initialize ¶
func (a *GenericAsset) Initialize() error
func (*GenericAsset) OutputExt ¶
func (a *GenericAsset) OutputExt() string
func (*GenericAsset) OutputPath ¶
func (a *GenericAsset) OutputPath() string
func (*GenericAsset) Path ¶
func (a *GenericAsset) Path() string
func (*GenericAsset) RelPath ¶
func (a *GenericAsset) RelPath() (string, error)
func (*GenericAsset) SetIndexKey ¶
func (a *GenericAsset) SetIndexKey(k string)
type JSXAsset ¶
type JSXAsset struct {
// contains filtered or unexported fields
}
func (*JSXAsset) ImportPaths ¶
func (*JSXAsset) Initialize ¶
func (*JSXAsset) OutputPath ¶
func (*JSXAsset) SetIndexKey ¶
type JavaScriptAsset ¶
type JavaScriptAsset struct {
// contains filtered or unexported fields
}
func (*JavaScriptAsset) Checksum ¶
func (a *JavaScriptAsset) Checksum() string
func (*JavaScriptAsset) ImportPaths ¶
func (a *JavaScriptAsset) ImportPaths() []string
func (*JavaScriptAsset) IndexKey ¶
func (a *JavaScriptAsset) IndexKey() string
func (*JavaScriptAsset) Initialize ¶
func (a *JavaScriptAsset) Initialize() error
func (*JavaScriptAsset) OutputExt ¶
func (a *JavaScriptAsset) OutputExt() string
func (*JavaScriptAsset) OutputPath ¶
func (a *JavaScriptAsset) OutputPath() string
func (*JavaScriptAsset) Path ¶
func (a *JavaScriptAsset) Path() string
func (*JavaScriptAsset) RelPath ¶
func (a *JavaScriptAsset) RelPath() (string, error)
func (*JavaScriptAsset) SetIndexKey ¶
func (a *JavaScriptAsset) SetIndexKey(k string)
type Matrix ¶
func (*Matrix) RemoveOldAssets ¶
func (m *Matrix) RemoveOldAssets()
type SCSSAsset ¶
type SCSSAsset struct {
// contains filtered or unexported fields
}
func (*SCSSAsset) ImportPaths ¶
func (*SCSSAsset) Initialize ¶
func (*SCSSAsset) OutputPath ¶
func (*SCSSAsset) SetIndexKey ¶
Click to show internal directories.
Click to hide internal directories.