Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 287 for stringa (0.23 sec)

  1. operator/cmd/mesh/operator-init.go

    	cmd.PersistentFlags().StringVar(&args.common.hub, "hub", hub, HubFlagHelpStr)
    	cmd.PersistentFlags().StringVar(&args.common.tag, "tag", tag, TagFlagHelpStr)
    	cmd.PersistentFlags().StringSliceVar(&args.common.imagePullSecrets, "imagePullSecrets", nil, ImagePullSecretsHelpStr)
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. cni/pkg/install/cniconfig.go

    	cniNetDir          string
    	kubeconfigFilename string
    	logLevel           string
    	k8sServiceHost     string
    	k8sServicePort     string
    	k8sNodeName        string
    	logUDSAddress      string
    	cniEventAddress    string
    }
    
    func getPluginConfig(cfg *config.InstallConfig) pluginConfig {
    	return pluginConfig{
    		mountedCNINetDir: cfg.MountedCNINetDir,
    		cniConfName:      cfg.CNIConfName,
    		chainedCNIPlugin: cfg.ChainedCNIPlugin,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. istioctl/pkg/completion/completion.go

    	if err != nil {
    		return nil, err
    	}
    
    	var podsName []string
    	for _, pod := range podList.Items {
    		if toComplete == "" || strings.HasPrefix(pod.Name, toComplete) {
    			podsName = append(podsName, pod.Name)
    		}
    	}
    
    	return podsName, nil
    }
    
    func ValidPodsNameArgs(ctx cli.Context) func(_ *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag_test.go

    			}
    		})
    	}
    }
    
    func TestSetTagErrors(t *testing.T) {
    	tcs := []struct {
    		name           string
    		tag            string
    		revision       string
    		webhooksBefore admitv1.MutatingWebhookConfigurationList
    		namespaces     corev1.NamespaceList
    		outputMatches  []string
    		error          string
    	}{
    		{
    			name:     "TestErrorWhenRevisionWithNameCollision",
    			tag:      "revision",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest-generate.go

    	// Filter is the list of components to render
    	Filter []string
    }
    
    var kubeClientFunc func() (kube.CLIClient, error)
    
    func (a *ManifestGenerateArgs) String() string {
    	var b strings.Builder
    	b.WriteString("InFilenames:   " + fmt.Sprint(a.InFilenames) + "\n")
    	b.WriteString("OutFilename:   " + a.OutFilename + "\n")
    	b.WriteString("Set:           " + fmt.Sprint(a.Set) + "\n")
    	b.WriteString("Force:         " + fmt.Sprint(a.Force) + "\n")
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. istioctl/pkg/util/common.go

    	Err error
    }
    
    func (c CommandParseError) Error() string {
    	return c.Err.Error()
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    func Confirm(msg string, writer io.Writer) bool {
    	for {
    		_, _ = fmt.Fprintf(writer, "%s ", msg)
    		var response string
    		_, err := fmt.Scanln(&response)
    		if err != nil {
    			return false
    		}
    		switch strings.ToUpper(response) {
    		case "Y", "YES":
    			return true
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. istioctl/pkg/xds/client.go

    	ns, serviceAccount string, kubeClient kube.CLIClient,
    ) ([]grpc.DialOption, error) {
    	ctx := context.TODO()
    	// If we are using the insecure 15010 don't bother getting a token
    	if opts.Plaintext || opts.CertDir != "" {
    		return make([]grpc.DialOption, 0), nil
    	}
    	// Use bearer token
    	aud := tokenAudiences
    	isMCP := strings.HasSuffix(opts.Xds, ".googleapis.com") || strings.HasSuffix(opts.Xds, ".googleapis.com:443")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator_test.go

    			tag:               "1.2.3",
    			imagePullSecrets:  []string{"imagePullSecret1,imagePullSecret2"},
    			operatorNamespace: "operator-test-namespace",
    			watchedNamespaces: "istio-test-namespace1,istio-test-namespace2",
    		},
    	}
    
    	cmd := "operator dump --hub " + odArgs.common.hub
    	cmd += " --tag " + odArgs.common.tag
    	cmd += " --imagePullSecrets " + strings.Join(odArgs.common.imagePullSecrets, ",")
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables_test.go

    		t.Fatal(err)
    	}
    
    	compareToGolden(t, false, tt.name, ext.ExecutedAll)
    }
    
    func ipstr(ipv6 bool) string {
    	if ipv6 {
    		return "ipv6"
    	}
    	return "ipv4"
    }
    
    func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) {
    	t.Helper()
    	gotBytes := []byte(strings.Join(actual, "\n"))
    	goldenFile := filepath.Join("testdata", name+".golden")
    	if ipv6 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  10. cni/pkg/log/uds.go

    	"fmt"
    	"io"
    	"net/http"
    	"strings"
    	"sync"
    	"time"
    
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/network"
    	"istio.io/istio/pkg/uds"
    )
    
    var pluginLog = log.RegisterScope("cni", "CNI network plugin")
    
    type UDSLogger struct {
    	mu            sync.Mutex
    	loggingServer *http.Server
    }
    
    type cniLog struct {
    	Level string    `json:"level"`
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top