Documentation
¶
Index ¶
Constants ¶
View Source
const (
WarnNoHome = "Could not determine home directory, falling back to $PWD, error: %s"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) CreateMetadata ¶
func (*Cache) GetCacheKey ¶
func (g *Cache) GetCacheKey(keyParams CacheKeyParams) (string, error)
type CacheKeyParams ¶
type CacheKeyParams struct {
IsFallback bool
}
type Metadata ¶
type Metadata struct { ConfigCacheFiles filegroup.Info `json:"configCacheFiles"` CacheKey string `json:"cacheKey"` OS string `json:"os"` CreatedAt time.Time `json:"createdAt"` AppID string `json:"appId,omitempty"` BuildID string `json:"buildId,omitempty"` WorkspaceID string `json:"workspaceId,omitempty"` GitCommit string `json:"gitCommit,omitempty"` GitBranch string `json:"gitBranch,omitempty"` BuildCacheCLIVersion string `json:"cliVersion,omitempty"` MetadataVersion int `json:"metadataVersion"` }
type Plugin ¶ added in v0.16.8
type Plugin struct {
// contains filtered or unexported fields
}
func PluginAnalytics ¶ added in v0.16.8
func PluginAnalytics() Plugin
func PluginCache ¶ added in v0.16.8
func PluginCache() Plugin
func PluginCommon ¶ added in v0.16.8
func PluginCommon() Plugin
func PluginTestDistro ¶ added in v0.16.8
func PluginTestDistro() Plugin
type PluginCacher ¶ added in v0.16.8
type PluginCacher struct{}
type PluginDownloader ¶ added in v0.16.8
type PluginDownloader struct {
// contains filtered or unexported fields
}
func (PluginDownloader) Download ¶ added in v0.16.8
func (downloader PluginDownloader) Download(file PluginFile) (string, error)
type PluginFile ¶ added in v0.16.8
type PluginFile struct {
// contains filtered or unexported fields
}
type PluginFileDownloader ¶ added in v0.16.8
type PluginFileDownloader struct {
// contains filtered or unexported fields
}
func (PluginFileDownloader) Download ¶ added in v0.16.8
func (downloader PluginFileDownloader) Download() error
Click to show internal directories.
Click to hide internal directories.