Documentation
¶
Index ¶
Constants ¶
This section is empty.
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"`
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"`
}
Click to show internal directories.
Click to hide internal directories.