Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "vet", Short: "Validate an Anthos Configuration Management directory", Long: `Validate an Anthos Configuration Management directory Checks for semantic and syntactic errors in an Anthos Configuration Management directory that will interfere with applying resources. Prints found errors to STDERR and returns a non-zero error code if any issues are found. `, Example: ` nomos vet nomos vet --path=my/directory nomos vet --path=/path/to/my/directory`, Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, _ []string) error { cmd.SilenceUsage = true return runVet(cmd.Context(), namespaceValue, configsync.SourceFormat(flags.SourceFormat), flags.APIServerTimeout) }, }
Cmd is the Cobra object representing the nomos vet command.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.