Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Larsen (0.55 sec)

  1. istioctl/pkg/proxyconfig/clusters.go

    	statuses := make(map[string][]cluster.DebugInfo, len(input))
    	for istiodKey, bytes := range input {
    		var parsed []cluster.DebugInfo
    		if err := json.Unmarshal(bytes, &parsed); err != nil {
    			return nil, err
    		}
    		statuses[istiodKey] = parsed
    	}
    	return statuses, nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. istioctl/pkg/install/k8sversion/version_test.go

    			expected: 8,
    			errMsg:   nil,
    			isValid:  true,
    		},
    		{
    			version: versionInvalid1,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid1.GitVersion),
    			isValid: false,
    		},
    		{
    			version: versionInvalid2,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid2.GitVersion),
    			isValid: false,
    		},
    	}
    	for i, c := range cases {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 19 02:46:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/pilot/status.go

    				return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err)
    			}
    			meta, err := model.ParseMetadata(clientConfig.GetNode().GetMetadata())
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not parse node metadata: %w", err)
    			}
    			if s.Namespace != "" && meta.Namespace != s.Namespace {
    				continue
    			}
    			cds, lds, eds, rds, ecds := getSyncStatus(&clientConfig)
    			cp := multixds.CpInfo(dr)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_test.go

    	args := buildCmdArgs(stdinData, testPodName, testNSName)
    
    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		t.Fatalf("config parse failed with error: %v", err)
    	}
    
    	// Create a kube client
    	client := kube.NewFakeClient(objects...)
    
    	mockRedir := &mockInterceptRuleMgr{}
    	err = doAddRun(args, conf, client.Kube(), mockRedir)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate.go

    	whBuf := new(bytes.Buffer)
    	if err = serializer.Encode(decodedWh, whBuf); err != nil {
    		return "", err
    	}
    
    	return whBuf.String(), nil
    }
    
    // tagWebhookConfigFromCanonicalWebhook parses configuration needed to create tag webhook from existing revision webhook.
    func tagWebhookConfigFromCanonicalWebhook(wh admitv1.MutatingWebhookConfiguration, tagName, istioNS string) (*tagWebhookConfig, error) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. operator/cmd/mesh/test-util_test.go

    func NewObjectSet(objs object.K8sObjects) *ObjectSet {
    	ret := &ObjectSet{}
    	for _, o := range objs {
    		ret.append(o)
    	}
    	return ret
    }
    
    // parseObjectSetFromManifest parses an ObjectSet from the given manifest.
    func parseObjectSetFromManifest(manifest string) (*ObjectSet, error) {
    	objSlice, err := object.ParseK8sObjectsFromYAMLManifest(manifest)
    	return NewObjectSet(objSlice), err
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. istioctl/pkg/authz/listener.go

    					}
    				}
    			}
    
    			parsed.filterChains = append(parsed.filterChains, parsedFC)
    		}
    		parsedListeners = append(parsedListeners, parsed)
    	}
    	return parsedListeners
    }
    
    func extractName(name string) (string, string) {
    	// parts[1] is the namespace, parts[2] is the policy name, parts[3] is the rule index.
    	parts := re.FindStringSubmatch(name)
    	if len(parts) != 4 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/sds/util.go

    		if err != nil {
    			log.Debugf("failed to parse secret resource %s from source %s: %v",
    				s.name, s.source, err)
    			result.Valid = false
    			return result, nil
    		}
    		result.SecretMeta = meta
    		result.Valid = meta.Valid
    		return result, nil
    	}
    	result.Valid = false
    	return result, nil
    }
    
    // GetEnvoySecrets parses the secrets section of the config dump into []SecretItem
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin.go

    }
    
    // parseConfig parses the supplied configuration (and prevResult) from stdin.
    func parseConfig(stdin []byte) (*Config, error) {
    	conf := Config{}
    
    	if err := json.Unmarshal(stdin, &conf); err != nil {
    		return nil, fmt.Errorf("failed to parse network configuration: %v", err)
    	}
    
    	log.Debugf("istio-cni: Config is: %+v", conf)
    	// Parse previous result. Remove this if your plugin is not chained.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    // AnalyzerFoundIssuesError indicates that at least one analyzer found problems.
    type AnalyzerFoundIssuesError struct{}
    
    // FileParseError indicates a provided file was unable to be parsed.
    type FileParseError struct{}
    
    const FileParseString = "Some files couldn't be parsed."
    
    func (f AnalyzerFoundIssuesError) Error() string {
    	var sb strings.Builder
    	sb.WriteString(fmt.Sprintf("Analyzers found issues when analyzing %s.\n", analyzeTargetAsString()))
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top