- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 131 for Command (0.15 sec)
-
buildscripts/gen-ldflags.go
func commitID() string { // git log --format="%H" -n1 var ( commit []byte err error ) cmdName := "git" cmdArgs := []string{"log", "--format=%H", "-n1"} if commit, err = exec.Command(cmdName, cmdArgs...).Output(); err != nil { fmt.Fprintln(os.Stderr, "Error generating git commit-id: ", err) os.Exit(1) } return strings.TrimSpace(string(commit)) } func commitTime() time.Time {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jun 16 23:10:48 GMT 2022 - 3.3K bytes - Viewed (0) -
cmd/osmetric_string.go
package cmd 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[osMetricRemoveAll-0] _ = x[osMetricMkdirAll-1] _ = x[osMetricMkdir-2] _ = x[osMetricRename-3] _ = x[osMetricOpenFileW-4] _ = x[osMetricOpenFileR-5]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 15 01:09:38 GMT 2024 - 1.3K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
MessageWriter io.Writer // XdsViaAgents accesses Istiod via the tap service of each agent. // This is only used in `proxy-status` command. XdsViaAgents bool // XdsViaAgentsLimit is the maximum number of pods being visited by istioctl, // when `XdsViaAgents` is true. This is only used in `proxy-status` command. // 0 means that there is no limit. XdsViaAgentsLimit int } var DefaultOptions = Options{ MessageWriter: os.Stdout,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
} } commandOutput := out.String() for _, s := range tc.outputMatches { if !strings.Contains(commandOutput, s) { t.Fatalf("expected \"%s\" in command output, got %s", s, commandOutput) } } }) } } func TestRemoveTag(t *testing.T) { tcs := []struct { name string tag string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
istioctl/cmd/sysexits.go
ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD ) func GetExitCode(e error) int { if strings.Contains(e.Error(), "unknown command") { e = util.CommandParseError{Err: e} } switch e.(type) { case util.CommandParseError: return ExitIncorrectUsage case analyze.FileParseError: return ExitDataError
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.9K bytes - Viewed (0) -
operator/cmd/mesh/profile-list_test.go
Version: "25", }), args) var out bytes.Buffer rootCmd.SetOut(&out) rootCmd.SetErr(&out) err := rootCmd.Execute() if err != nil { t.Fatalf("failed to execute istioctl profile command: %v", err) } output := out.String() expectedProfiles := []string{"default", "demo", "empty", "minimal", "openshift", "preview", "remote"} for _, prof := range expectedProfiles {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 03 06:27:07 GMT 2024 - 1.5K bytes - Viewed (0) -
cmd/storagemetric_string.go
package cmd 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[storageMetricMakeVolBulk-0] _ = x[storageMetricMakeVol-1] _ = x[storageMetricListVols-2] _ = x[storageMetricStatVol-3] _ = x[storageMetricDeleteVol-4]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Dec 01 20:10:54 GMT 2022 - 2K bytes - Viewed (0) -
istioctl/pkg/xds/client.go
err = adscConn.Send(dr) if err != nil { return nil, err } response, err := adscConn.WaitVersion(opts.Timeout, dr.TypeUrl, "") return response, err } // DialOptions constructs gRPC dial options from command line configuration func DialOptions(opts clioptions.CentralControlPlaneOptions, ns, serviceAccount string, kubeClient kube.CLIClient, ) ([]grpc.DialOption, error) { ctx := context.TODO()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Dec 19 22:42:42 GMT 2023 - 3.7K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
"istio.io/istio/pkg/util/sets" ) func Cmd(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions var skipControlPlane bool outputThreshold := formatting.MessageThreshold{Level: diag.Warning} var msgOutputFormat string var fromCompatibilityVersion string // cmd represents the upgradeCheck command cmd := &cobra.Command{ Use: "precheck",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
cmd/common-main.go
} func buildServerCtxt(ctx *cli.Context, ctxt *serverCtxt) (err error) { // Get "json" flag from command line argument and ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json") // Get quiet flag from command line argument. ctxt.Quiet = ctx.IsSet("quiet") || ctx.GlobalIsSet("quiet") // Get anonymous flag from command line argument. ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous") // Fetch address option
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 35.8K bytes - Viewed (2)