Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultConfig = Options{CheckDeploySource: true}
)
Functions ¶
func Process ¶
func Process(configs parser.SkaffoldConfigSet, validateConfig Options) error
Process checks if the Skaffold pipeline is valid and returns all encountered errors as a concatenated string
func ProcessWithRunContext ¶
func ProcessWithRunContext(ctx context.Context, runCtx *runcontext.RunContext) error
ProcessWithRunContext checks if the Skaffold pipeline is valid when a RunContext is required. It returns all encountered errors as a concatenated string.
Types ¶
type ErrorWithLocation ¶
type ErrorWithLocation struct { Error error Location *configlocations.Location }
func ProcessToErrorWithLocation ¶
func ProcessToErrorWithLocation(configs parser.SkaffoldConfigSet, validateConfig Options) []ErrorWithLocation
ProcessToErrorWithLocation checks if the Skaffold pipeline is valid and returns all encountered errors as ErrorWithLocation objects
type Options ¶
type Options struct {
CheckDeploySource bool
}
func GetValidationOpts ¶
func GetValidationOpts(opts config.SkaffoldOptions) Options
Click to show internal directories.
Click to hide internal directories.