- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewValidateCommand (0.17 sec)
-
istioctl/pkg/validate/validate.go
} else { _, _ = fmt.Fprintf(writer, "%q is valid\n", fname) } } return nil } // NewValidateCommand creates a new command for validating Istio k8s resources. func NewValidateCommand(ctx cli.Context) *cobra.Command { var filenames []string var referential bool c := &cobra.Command{ Use: "validate -f FILENAME [options]",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 22 17:58:52 UTC 2024 - 15K bytes - Viewed (0) -
istioctl/cmd/root.go
rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{ Title: "Istio Control", Section: "istioctl CLI", Manual: "Istio Control", })) validateCmd := validate.NewValidateCommand(ctx) hideInheritedFlags(validateCmd, "kubeconfig") rootCmd.AddCommand(validateCmd) rootCmd.AddCommand(optionsCommand(rootCmd)) // BFS applies the flag error function to all subcommands
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 10K bytes - Viewed (0)