Documentation
¶
Index ¶
- Constants
- func CacheComponentDigest(kind, value string) string
- func CollectTaskCustomFingerprints(ctx context.Context, task project.Task, rt *project.Runtime) ([]string, error)
- func CollectTaskInputs(ctx context.Context, worktree string, task project.Task, rt *project.Runtime) (hashes []string, envValues []string, custom []string, err error)
- func CollectTaskInputsWithCache(ctx context.Context, worktree string, task project.Task, rt *project.Runtime, ...) (hashes []string, envValues []string, custom []string, err error)
- func CollectTaskStaticInputsWithCache(ctx context.Context, worktree string, task project.Task, rt *project.Runtime, ...) (hashes []string, envValues []string, err error)
- func HashBytes(content []byte) string
- func HashDir(root string, ignore []string) (string, error)
- func HashEnv(env map[string]string, keys []string) []string
- func HashFile(path string) (string, error)
- func HashInputDir(root, inputDir string, ignore []string) (string, error)
- func OverrideTaskKey(taskName, override string) string
- func OverrideTaskKeyFromDigest(taskName, overrideDigest string) string
- func SemanticFingerprintDigests(values []string) []string
- func StaticInputDigest(inputHashes, envValues []string) string
- func TaskKey(in TaskKeyInput) (string, error)
- func TaskSignature(task project.Task) (string, error)
- type FilteredContentCache
- type TaskKeyInput
Constants ¶
View Source
const EngineKeyVersion = "devflow-v1"
Variables ¶
This section is empty.
Functions ¶
func CacheComponentDigest ¶
func CollectTaskInputs ¶
func OverrideTaskKey ¶
func StaticInputDigest ¶
func TaskKey ¶
func TaskKey(in TaskKeyInput) (string, error)
Types ¶
type FilteredContentCache ¶
type FilteredContentCache struct {
// contains filtered or unexported fields
}
func NewFilteredContentCache ¶
func NewFilteredContentCache() *FilteredContentCache
Click to show internal directories.
Click to hide internal directories.