- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for commands (0.16 sec)
-
istioctl/cmd/root.go
seenCommands := make(map[*cobra.Command]bool) var commandStack []*cobra.Command commandStack = append(commandStack, rootCmd) for len(commandStack) > 0 { n := len(commandStack) - 1 curCmd := commandStack[n] commandStack = commandStack[:n] seenCommands[curCmd] = true for _, command := range curCmd.Commands() { if !seenCommands[command] { commandStack = append(commandStack, command)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
} func groupCommand(ctx cli.Context) *cobra.Command { groupCmd := &cobra.Command{ Use: "group", Short: "Commands dealing with WorkloadGroup resources", Example: " istioctl x workload group create --name foo --namespace bar --labels app=foobar", } groupCmd.AddCommand(createCommand(ctx)) return groupCmd } func entryCommand(ctx cli.Context) *cobra.Command { entryCmd := &cobra.Command{ Use: "entry",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
execErrs = append(execErrs, cfg.executeIptablesRestoreCommand(iptablesBuilder, &cfg.ipt6V, false)) } } else { // Execute iptables commands execErrs = append(execErrs, cfg.executeIptablesCommands(&cfg.iptV, iptablesBuilder.BuildV4())) // Execute ip6tables commands if cfg.cfg.EnableIPv6 { execErrs = append(execErrs, cfg.executeIptablesCommands(&cfg.ipt6V, iptablesBuilder.BuildV6())) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
cmd/main.go
commandsTree := trie.NewTrie() // registerCommand registers a cli command. registerCommand := func(command cli.Command) { commands = append(commands, command) commandsTree.Insert(command.Name) } findClosestCommands := func(command string) []string { var closestCommands []string closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 6.4K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
yamlOutput = "yaml" summaryOutput = "short" defaultProxyAdminPort = 15000 ) func ZtunnelConfig(ctx cli.Context) *cobra.Command { configCmd := &cobra.Command{ Use: "ztunnel-config", Short: "Update or retrieve current Ztunnel configuration.", Long: "A group of commands used to update or retrieve Ztunnel configuration from a Ztunnel instance.", Example: ` # Retrieve summary about workload configuration
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
} return envoyConfig, nil } // AuthZ groups commands used for inspecting and interacting the authorization policy. // Note: this is still under active development and is not ready for real use. func AuthZ(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "authz", Short: "Inspect Istio AuthorizationPolicy", } cmd.AddCommand(checkCmd(ctx))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
} objs, err := object.ParseK8sObjectsFromYAMLManifest(manifest) return manifest, objs, err } // runManifestGenerate runs the manifest generate command. If filenames is set, passes the given filenames as -f flag, // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
"istio.io/istio/istioctl/pkg/writer/table" analyzer_util "istio.io/istio/pkg/config/analysis/analyzers/util" ) var labelPairs string func Cmd(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "check-inject [<type>/]<name>[.<namespace>]", Short: "Check the injection status or inject-ability of a given resource, explains why it is (or will be) injected or not", Long: `
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
data, err := io.ReadAll(file) if err != nil { return nil, err } return data, nil } func StableXdsStatusCommand(ctx cli.Context) *cobra.Command { cmd := XdsStatusCommand(ctx) unstableFlags := []string{"xds-via-agents", "xds-via-agents-limit"} cmd.PreRunE = func(cmd *cobra.Command, args []string) error { for _, flag := range unstableFlags { if cmd.PersistentFlags().Changed(flag) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 6.2K bytes - Viewed (0) -
internal/bucket/lifecycle/action_string.go
package lifecycle 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[NoneAction-0] _ = x[DeleteAction-1] _ = x[DeleteVersionAction-2] _ = x[TransitionAction-3] _ = x[TransitionVersionAction-4] _ = x[DeleteRestoredAction-5]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 1.1K bytes - Viewed (0)