Documentation ¶
Index ¶
- func Env(l log.Logger, v config.RequireEnv, rules ...EnvRule) fend.Fend
- func EnvExists(l log.Logger, v config.RequireEnv) rule.Rule
- func Envs(l log.Logger, v []config.RequireEnv) []fend.Fend
- func First(l log.Logger, fends ...any) error
- func GitUser(ctx context.Context, l log.Logger, rules ...GitRule) fend.Fend
- func GitUserName(ctx context.Context, l log.Logger) rule.Rule
- func Package(ctx context.Context, l log.Logger, v config.RequirePackage, ...) fend.Fend
- func PackageExists(ctx context.Context, l log.Logger, v config.RequirePackage) rule.Rule
- func PackageVersion(ctx context.Context, l log.Logger, v config.RequirePackage) rule.Rule
- func Packages(ctx context.Context, l log.Logger, v []config.RequirePackage) []fend.Fend
- func Script(ctx context.Context, l log.Logger, v config.RequireScript, rules ...ScriptRule) fend.Fend
- func ScriptStatus(ctx context.Context, l log.Logger, v config.RequireScript) rule.Rule
- func Scripts(ctx context.Context, l log.Logger, v []config.RequireScript) []fend.Fend
- type EnvRule
- type GitRule
- type PackageRule
- type ScriptRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Package ¶
func Package(ctx context.Context, l log.Logger, v config.RequirePackage, rules ...PackageRule) fend.Fend
func PackageExists ¶
func PackageVersion ¶
func Script ¶
func Script(ctx context.Context, l log.Logger, v config.RequireScript, rules ...ScriptRule) fend.Fend
func ScriptStatus ¶
Types ¶
type GitRule ¶
func GitUserEmail ¶
type PackageRule ¶
type ScriptRule ¶
Click to show internal directories.
Click to hide internal directories.