- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 154 for commands (0.21 sec)
-
operator/cmd/mesh/manifest.go
"github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" ) // ManifestCmd is a group of commands related to manifest generation, installation, diffing and migration. func ManifestCmd(ctx cli.Context) *cobra.Command { mc := &cobra.Command{ Use: "manifest", Short: "Commands related to Istio manifests", Long: "The manifest command generates and diffs Istio manifests.", } mgcArgs := &ManifestGenerateArgs{}
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.4K 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 Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 6.4K bytes - Viewed (0) -
istioctl/pkg/multicluster/options.go
// KubeOptions contains kubernetes options common to all commands. type KubeOptions struct { Kubeconfig string Context string Namespace string } // Inherit the common kubernetes flags defined in the root package. This is a bit of a hack, // but it allows us to directly get the final values for each of these flags without needing // to pass pointers-to-flags through all of the (sub)commands. func (o *KubeOptions) prepare(ctx cli.Context) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Aug 01 23:59:49 GMT 2023 - 1.6K 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 Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.4K bytes - Viewed (0) -
misc/go_android_exec/main.go
func adbCopyGoroot() error { goTool, err := goTool() if err != nil { return err } cmd := exec.Command(goTool, "version") cmd.Stderr = os.Stderr out, err := cmd.Output() if err != nil { return fmt.Errorf("%v: %w", cmd, err) } goVersion := string(out) // Also known by cmd/dist. The bootstrap command deletes the file. statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status")
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
istioctl/pkg/clioptions/doc.go
// See the License for the specific language governing permissions and // limitations under the License. // Package clioptions contains flags which can be added to istioctl commands.
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Jul 13 01:59:17 GMT 2022 - 683 bytes - Viewed (0) -
operator/cmd/mesh/profile.go
import ( "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" ) // ProfileCmd is a group of commands related to profile listing, dumping and diffing. func ProfileCmd(_ cli.Context) *cobra.Command { pc := &cobra.Command{ Use: "profile", Short: "Commands related to Istio configuration profiles", Long: "The profile command lists, dumps or diffs Istio configuration profiles.", Example: "istioctl profile list\n" +
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.5K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go
loggingConfig := map[string][]byte{ "ztunnel-9v7nw": []byte("current log level is debug"), } cases := []execTestCase{ { args: []string{}, expectedString: "A group of commands used to update or retrieve Ztunnel", }, { // logger name invalid when namespacing is used improperly execClientConfig: loggingConfig,
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 3.8K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K 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 Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 5K bytes - Viewed (0)