Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 328 for strings (0.23 sec)

  1. 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 08 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/configdump.go

    	}
    	if shaPB, ok := md[istioProxyShaKey]; ok {
    		sha = shaPB.GetStringValue()
    		if shaParts := strings.Split(sha, ":"); len(shaParts) > 1 {
    			sha = shaParts[1]
    		}
    	}
    
    	return
    }
    
    func (c *ConfigWriter) getUserAgentVersionInfo(bootstrapDump *adminv3.BootstrapConfigDump) string {
    	const (
    		buildLabelKey = "build.label"
    		buildTypeKey  = "build.type"
    		statusKey     = "revision.status"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    	var errs error
    	if un.GetNamespace() == handleNamespace(istioNamespace) {
    		return nil
    	}
    	spec := un.Object["spec"].(map[string]any)
    	if _, ok := spec["ports"]; ok {
    		ports := spec["ports"].([]any)
    		for _, port := range ports {
    			p := port.(map[string]any)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest_shared_test.go

    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    func runManifestCommand(command string, filenames []string, flags string, chartSource chartSourceType, fileSelect []string) (string, error) {
    	var args string
    	if command == "install" {
    		args = "install"
    	} else {
    		args = "manifest " + command
    	}
    	for _, f := range filenames {
    		args += " -f " + f
    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)
  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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. 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 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. istioctl/pkg/install/k8sversion/version_test.go

    			logger := clog.NewConsoleLogger(&outBuf, &errBuf, nil)
    			IsK8VersionSupported(k8sClient, logger)
    
    			errMsgTrim := strings.TrimSpace(c.logMsg)
    			outBufTrim := strings.TrimSpace(outBuf.String())
    
    			if !c.isValid && strings.Compare(errMsgTrim, outBufTrim) != 0 {
    				t.Fatalf("\nwanted: %v \nbut found: %v", errMsgTrim, outBufTrim)
    			}
    
    			if c.isValid && outBuf.Len() > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 19 02:46:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    			}
    		}
    	}
    	return valuesConfig, meshConfig, nil
    }
    
    var (
    	inFilename          string
    	outFilename         string
    	meshConfigFile      string
    	meshConfigMapName   string
    	valuesFile          string
    	injectConfigFile    string
    	injectConfigMapName string
    	whcName             string
    	iopFilename         string
    )
    
    const (
    	defaultMeshConfigMapName       = "istio"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    				return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %s", trafficType, validTrafficTypes.String())
    			}
    
    			if gw.Labels == nil {
    				gw.Labels = map[string]string{}
    			}
    
    			gw.Labels[constants.AmbientWaypointForTrafficTypeLabel] = trafficType
    		}
    
    		if revision != "" {
    			gw.Labels = map[string]string{label.IoIstioRev.Name: revision}
    		}
    		return &gw, nil
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    func getProfileNSAndEnabledComponents(iop *v1alpha12.IstioOperator) (string, string, []string, error) {
    	var enabledComponents []string
    	if iop.Spec.Components != nil {
    		for _, c := range name.AllCoreComponentNames {
    			enabled, err := translate.IsComponentEnabledInSpec(c, iop.Spec)
    			if err != nil {
    				return "", "", nil, fmt.Errorf("failed to check if component: %s is enabled or not: %v", string(c), err)
    			}
    			if enabled {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
Back to top