- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for options (0.15 sec)
-
istioctl/cmd/options.go
retval := &cobra.Command{ Use: "options", Short: "Displays istioctl global options", Args: cobra.ExactArgs(0), } retval.SetHelpFunc(func(c *cobra.Command, args []string) { c.Printf("The following options can be passed to any command:\n") // (Currently the only global options we show are help options) rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/options.go
import ( "k8s.io/client-go/tools/clientcmd" "istio.io/istio/istioctl/pkg/cli" ) const ( clusterNameAnnotationKey = "networking.istio.io/cluster" ) // 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,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 01 23:59:49 GMT 2023 - 1.6K bytes - Viewed (0) -
cni/pkg/nodeagent/options.go
Ben Leggett <******@****.***> 1714515878 -0400
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 2K bytes - Viewed (0) -
istioctl/cmd/options_test.go
func TestLogHelp(t *testing.T) { var out bytes.Buffer rootCmd := GetRootCmd([]string{"options"}) rootCmd.SetOut(&out) rootCmd.SetErr(&out) fErr := rootCmd.Execute() if fErr != nil { t.Fatalf("options failed with %v and %q\n", fErr, out.String()) } if !regexp.MustCompile(expectedOutput).Match(out.Bytes()) { t.Fatalf("'istioctl options' expected output\n%s\n got\n%s", expectedOutput, out.String()) }
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) -
istioctl/pkg/multixds/gather.go
for _, pod := range list.Items { touchedPods++ if options.XdsViaAgentsLimit != 0 && touchedPods > options.XdsViaAgentsLimit { fmt.Fprintf(options.MessageWriter, "Some proxies may be missing from the list"+ " because the number of visited pod hits the limit %d,"+ " which can be set by `--xds-via-agents-limit` flag.\n", options.XdsViaAgentsLimit) break GetProxyLoop }
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/util/formatting/formatter.go
return string(yamlOutput), err } // Formatting options for Message var ( colorPrefixes = map[diag.Level]string{ diag.Info: "", // no special color for info messages diag.Warning: "\033[33m", // yellow diag.Error: "\033[1;31m", // bold red } ) // render turns a Message instance into a string with an option of colored bash output func render(m diag.Message, colorize bool) string {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 11 02:41:45 GMT 2023 - 3.1K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
if err != nil { return []string{}, "", err } if podName != "" { return []string{podName}, namespace, err } options := metav1.ListOptions{LabelSelector: selector} podList, err := client.Pods(namespace).List(context.TODO(), options) if err != nil { return []string{}, "", err } pods := []string{} for i := range podList.Items { pods = append(pods, podList.Items[i].Name) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
} return cmd } func XdsStatusCommand(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions var centralOpts clioptions.CentralControlPlaneOptions var multiXdsOpts multixds.Options statusCmd := &cobra.Command{ Use: "proxy-status [<type>/]<name>[.<namespace>]", Short: "Retrieves the synchronization status of each Envoy in the mesh", Long: `
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) -
istioctl/pkg/clioptions/central.go
// limitations under the License. package clioptions import ( "fmt" "time" "github.com/spf13/cobra" "github.com/spf13/viper" ) // CentralControlPlaneOptions holds options common to all subcommands // that invoke Istiod via xDS REST endpoint type CentralControlPlaneOptions struct { // Xds is XDS endpoint, e.g. localhost:15010. Xds string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
if err != nil { return err } s := scheme.Scheme s.AddKnownTypes(v1alpha1.SchemeGroupVersion, &v1alpha1.IstioOperator{}) testClient, err = client.New(testRestConfig, client.Options{Scheme: s}) if err != nil { return err } return nil } var interceptorFunc = interceptor.Funcs{Patch: func( ctx context.Context, clnt client.WithWatch, obj client.Object,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1)