Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitLines ¶
Types ¶
type Globals ¶ added in v1.4.0
type Globals struct { Client cachev1connect.CacheServiceClient Version string Debug bool }
type RestoreCmd ¶
type RestoreCmd struct { Key string `help:"key to use for the cache entry" required:"" env:"INPUT_KEY"` FallbackBranch string `help:"fallback branch to use for the cache entry" env:"INPUT_FALLBACK_BRANCH"` Path string `help:"Path list for a cache entry." env:"INPUT_PATH"` TokenSource string `help:"token source" default:"github_actions" env:"INPUT_TOKEN_SOURCE"` Branch string `help:"branch to use for the cache entry" env:"INPUT_BRANCH" required:""` Name string `help:"repository, project or pipeline name to use for the cache entry" env:"INPUT_REPOSITORY" required:""` Owner string `help:"owner of the cache entry" env:"INPUT_OWNER"` Clean bool `help:"clean the path before restore" env:"INPUT_CLEAN"` }
type SaveCmd ¶
type SaveCmd struct { Key string `help:"key to use for the cache entry" required:"" env:"INPUT_KEY"` Path string `help:"Path list for a cache entry." env:"INPUT_PATH"` TokenSource string `help:"token source" default:"github_actions" env:"INPUT_TOKEN_SOURCE"` Branch string `help:"branch to use for the cache entry" env:"INPUT_BRANCH" required:""` Name string `help:"repository, project or pipeline name to use for the cache entry" env:"INPUT_REPOSITORY" required:""` Owner string `help:"owner of the cache entry" env:"INPUT_OWNER"` Skip bool `help:"Skip saving the cache entry." env:"INPUT_SKIP"` }
Click to show internal directories.
Click to hide internal directories.