Documentation
¶
Index ¶
- func IsFormatJSON(flagName string, format string) (bool, error)
- func IsLintFormatConfigIgnoreYAML(flagName string, format string) (bool, error)
- func IsLintFormatJSON(flagName string, format string) (bool, error)
- func NewBufbreakingHandler(logger *zap.Logger) bufbreaking.Handler
- func NewBuflintHandler(logger *zap.Logger) buflint.Handler
- func NewBufosEnvReader(logger *zap.Logger, inputFlagName string, configOverrideFlagName string) bufos.EnvReader
- func NewBufosImageWriter(logger *zap.Logger, outputFlagName string) bufos.ImageWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFormatJSON ¶
IsFormatJSON returns true if the format is JSON.
This will probably eventually need to be split between the image/check flags and the ls flags as we may have different formats for each.
func IsLintFormatConfigIgnoreYAML ¶ added in v0.3.0
IsLintFormatConfigIgnoreYAML returns true if the format is config-ignore-yaml.
func IsLintFormatJSON ¶ added in v0.3.0
IsLintFormatJSON returns true if the format is JSON for lint.
Also allows config-ignore-yaml.
func NewBufbreakingHandler ¶
func NewBufbreakingHandler( logger *zap.Logger, ) bufbreaking.Handler
NewBufbreakingHandler returns a new bufbreaking.Handler.
func NewBuflintHandler ¶
NewBuflintHandler returns a new buflint.Handler.
func NewBufosEnvReader ¶
func NewBufosEnvReader( logger *zap.Logger, inputFlagName string, configOverrideFlagName string, ) bufos.EnvReader
NewBufosEnvReader returns a new bufos.EnvReader.
func NewBufosImageWriter ¶
func NewBufosImageWriter( logger *zap.Logger, outputFlagName string, ) bufos.ImageWriter
NewBufosImageWriter returns a new bufos.ImageWriter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.