Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCommonFlags ¶
ValidateCommonFlags ensures that the argument follow the right format
Types ¶
type CommonConfig ¶
type CommonConfig struct {
Context *pkg.Context
RevisionBefore pkg.LabelledGitRev
Targets pkg.TargetsList
}
func ResolveCommonConfig ¶
func ResolveCommonConfig(commonFlags *CommonFlags, beforeRevStr string) (*CommonConfig, error)
type CommonFlags ¶
type CommonFlags struct {
WorkingDirectory *string
BazelPath *string
BazelStartupOpts *MultipleStrings
EnforceCleanRepo EnforceCleanFlag
DeleteCachedWorktree bool
IgnoredFiles *IgnoreFileFlag
TargetsFlag *string
AnalysisCacheClearStrategy *string
CompareQueriesAroundAnalysisCacheClear bool
}
func RegisterCommonFlags ¶
func RegisterCommonFlags() *CommonFlags
type EnforceCleanFlag ¶
type EnforceCleanFlag int
const ( EnforceClean EnforceCleanFlag = iota AllowIgnored AllowDirty )
func (*EnforceCleanFlag) Set ¶
func (e *EnforceCleanFlag) Set(value string) error
func (EnforceCleanFlag) String ¶
func (e EnforceCleanFlag) String() string
type IgnoreFileFlag ¶
func (*IgnoreFileFlag) Set ¶
func (i *IgnoreFileFlag) Set(value string) error
func (*IgnoreFileFlag) String ¶
func (i *IgnoreFileFlag) String() string
type MultipleStrings ¶ added in v0.8.0
type MultipleStrings []string
func (*MultipleStrings) Set ¶ added in v0.8.0
func (s *MultipleStrings) Set(value string) error
func (*MultipleStrings) String ¶ added in v0.8.0
func (s *MultipleStrings) String() string
Click to show internal directories.
Click to hide internal directories.