- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 79 for Command (0.2 sec)
-
istioctl/cmd/options_test.go
// limitations under the License. package cmd import ( "bytes" "regexp" "testing" ) // nolint: lll var expectedOutput = `The following options can be passed to any command: --log_as_json: Whether to format output as JSON or in plain console-friendly format --log_caller: Comma-separated list of scopes for which to include caller information, scopes can be any of \[.*\]
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Sep 14 02:38:54 GMT 2022 - 1.9K bytes - Viewed (0) -
internal/grid/handlers_string.go
package grid import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[handlerInvalid-0] _ = x[HandlerLockLock-1] _ = x[HandlerLockRLock-2] _ = x[HandlerLockUnlock-3] _ = x[HandlerLockRUnlock-4] _ = x[HandlerLockRefresh-5]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 4.2K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
}, }, metav1.CreateOptions{}) assert.NoError(t, err) } verifyExecTestOutput(t, DebugCommand(ctx), c) }) } } func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) { t.Helper() var out bytes.Buffer cmd.SetArgs(c.args) cmd.SilenceUsage = true cmd.SetOut(&out) cmd.SetErr(&out) fErr := cmd.Execute() output := out.String()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
} func newKubeClientWithRevision(kubeconfig, configContext, revision string) (kube.CLIClient, error) { rc, err := kube.DefaultRestConfig(kubeconfig, configContext, func(config *rest.Config) { // We are running a one-off command locally, so we don't need to worry too much about rate limiting // Bumping this up greatly decreases install time config.QPS = 50 config.Burst = 100 }) if err != nil { return nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 6.4K bytes - Viewed (0) -
istioctl/pkg/wait/wait_test.go
args []string // Typically use one of the three expectedOutput string // Expected constant output wantException bool } func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) { if c.wantException { // Ensure tests do not hang for 30s c.args = append(c.args, "--timeout=20ms") } var out bytes.Buffer cmd.SetArgs(c.args) cmd.SilenceUsage = true
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (1) -
cmd/bootstrap-peer-server.go
if ns1 != ns2 { return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2) } for i, cmdLine := range s1.CmdLines { if cmdLine != s2.CmdLines[i] { return fmt.Errorf("Expected command line argument %s, seen %s", cmdLine, s2.CmdLines[i]) } } if reflect.DeepEqual(s1.MinioEnv, s2.MinioEnv) { return nil } // Report differences in environment variables. var missing []string
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 7.5K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
) var configDumpFile string func checkCmd(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "check [<type>/]<name>[.<namespace>]", Short: "Check AuthorizationPolicy applied in the pod.", Long: `Check prints the AuthorizationPolicy applied to a pod by directly checking the Envoy configuration of the pod. The command is especially useful for inspecting
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 5K bytes - Viewed (0) -
istioctl/pkg/admin/admin.go
) func Cmd(ctx cli.Context) *cobra.Command { adminCmd := &cobra.Command{ Use: "admin", Short: "Manage control plane (istiod) configuration", Long: "A group of commands used to manage istiod configuration", Example: ` # Retrieve information about istiod configuration. istioctl admin log`, Aliases: []string{"istiod"}, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.4K bytes - Viewed (0) -
operator/cmd/mesh/operator-remove.go
} func operatorRemoveCmd(ctx cli.Context, rootArgs *RootArgs, orArgs *operatorRemoveArgs) *cobra.Command { return &cobra.Command{ Use: "remove", Short: "Removes the Istio operator controller from the cluster.", Long: "The remove subcommand removes the Istio operator controller from the cluster.", Args: func(cmd *cobra.Command, args []string) error { if orArgs.revision == "" && !orArgs.purge {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.4K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff.go
manifestsPath string } func addProfileDiffFlags(cmd *cobra.Command, args *profileDiffArgs) { cmd.PersistentFlags().StringVarP(&args.manifestsPath, "charts", "", "", ChartsDeprecatedStr) cmd.PersistentFlags().StringVarP(&args.manifestsPath, "manifests", "d", "", ManifestsFlagHelpStr) } func profileDiffCmd(pfArgs *profileDiffArgs) *cobra.Command { return &cobra.Command{ Use: "diff <profile|file1.yaml> <profile|file2.yaml>",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 3.1K bytes - Viewed (0)