- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for unmarshalV (0.19 sec)
-
istioctl/pkg/writer/envoy/configdump/listener.go
if filter.Name == HTTPListener { httpProxy := &hcm.HttpConnectionManager{} // Allow Unmarshal to work even if Envoy and istioctl are different filter.GetTypedConfig().TypeUrl = "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager" err := filter.GetTypedConfig().UnmarshalTo(httpProxy) if err != nil { return err.Error() } if httpProxy.GetRouteConfig() != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
Component: "MISSING", ID: "MISSING", Info: istioversion.BuildInfo{ Version: "MISSING CP ID", }, } } cpID := pilotxds.IstioControlPlaneInstance{} err := json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID) if err != nil { return pilotxds.IstioControlPlaneInstance{ Component: "INVALID", ID: "INVALID", Info: istioversion.BuildInfo{
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/kubeinject/kubeinject.go
valuesConfigMapKey, injectConfigMapName) } return valuesData, nil } func readInjectConfigFile(f []byte) (inject.RawTemplates, error) { var injectConfig inject.Config err := yaml.Unmarshal(f, &injectConfig) if err != nil || len(injectConfig.RawTemplates) == 0 { // This must be a direct template, instead of an inject.Config. We support both formats
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) -
istioctl/pkg/proxyconfig/proxyconfig.go
Global struct { Proxy struct { LogLevel string `json:"logLevel"` } `json:"proxy"` } `json:"global"` } `json:"sidecarInjectorWebhook"` } if err := yaml.Unmarshal([]byte(valuesConfig), &values); err != nil { return "", fmt.Errorf("failed to parse values config: %v [%v]", err, valuesConfig) } return values.SidecarInjectorWebhook.Global.Proxy.LogLevel, nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
func insertCNIConfig(newCNIConfig, existingCNIConfig []byte) ([]byte, error) { var istioMap map[string]any err := json.Unmarshal(newCNIConfig, &istioMap) if err != nil { return nil, fmt.Errorf("error loading Istio CNI config (JSON error): %v", err) } var existingMap map[string]any err = json.Unmarshal(existingCNIConfig, &existingMap) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/wait/wait.go
} sdcnum = 0 versionCount := make(map[string]int) for _, response := range pilotResponses { var configVersions []xds.SyncedVersions err = json.Unmarshal(response, &configVersions) if err != nil { respStr := string(response) if strings.Contains(respStr, xds.DistributionTrackingDisabledMessage) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 17 12:24:17 GMT 2024 - 10.1K bytes - Viewed (0) -
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 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
service.istio.io/canonical-revision: v1 spec: replicas: 1 ` ) func fromYAML(in string) *unstructured.Unstructured { var un unstructured.Unstructured if err := yaml.Unmarshal([]byte(in), &un); err != nil { panic(err) } return &un } func TestValidateResource(t *testing.T) { cases := []struct { name string in string valid bool warn bool }{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 25 08:08:36 GMT 2023 - 21.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
func readWorkloadGroup(filename string, wg *clientv1alpha3.WorkloadGroup) error { f, err := os.ReadFile(filename) if err != nil { return err } if err = yaml.Unmarshal(f, wg); err != nil { return err } // fill empty structs if wg.Spec.Metadata == nil { wg.Spec.Metadata = &networkingv1alpha3.WorkloadGroup_ObjectMeta{} } if wg.Spec.Template == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0)