Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBashPath = "/bin/bash"
DefaultBashPath is the path used if Applier.Bash is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Infof(ctx context.Context, format string, args ...interface{}) Error(ctx context.Context, err error) }
Logger collects execution messages from an Applier. A Logger must be safe to call from multiple goroutines.
type Options ¶ added in v0.2.0
type Options struct { // Log will receive progress messages if non-nil. Log Logger // Bash is the path to the bash executable. // If it's empty, then Apply uses DefaultBashPath. Bash string // ConcurrentJobs is the number of resources to apply simultaneously. // If non-positive, then it assumes 1. ConcurrentJobs int }
Options is the set of optional parameters for Apply. The zero value is the default set of options.
Click to show internal directories.
Click to hide internal directories.