Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Cfg (0.2 sec)

  1. pilot/pkg/config/kube/crdclient/client.go

    		return nil
    	}
    
    	cfg := TranslateObject(obj, typ, cl.domainSuffix)
    	return &cfg
    }
    
    // Create implements store interface
    func (cl *Client) Create(cfg config.Config) (string, error) {
    	if cfg.Spec == nil {
    		return "", fmt.Errorf("nil spec for %v/%v", cfg.Name, cfg.Namespace)
    	}
    
    	meta, err := create(cl.client, cfg, getObjectMetadata(cfg))
    	if err != nil {
    		return "", err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. pilot/pkg/model/telemetry_test.go

    	data []struct {
    		typ config.GroupVersionKind
    		ns  string
    		cfg config.Config
    	}
    }
    
    func (ts *telemetryStore) add(cfg config.Config) {
    	ts.data = append(ts.data, struct {
    		typ config.GroupVersionKind
    		ns  string
    		cfg config.Config
    	}{
    		typ: cfg.GroupVersionKind,
    		ns:  cfg.Namespace,
    		cfg: cfg,
    	})
    }
    
    func (ts *telemetryStore) Schemas() collection.Schemas {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. pilot/pkg/model/telemetry_logging.go

    	if provider.LogFormat != nil {
    		labels = provider.LogFormat.Labels
    	}
    
    	cfg := buildOpenTelemetryAccessLogConfig(logName, hostname, cluster, f, labels)
    
    	return &accesslog.AccessLog{
    		Name:       OtelEnvoyALSName,
    		ConfigType: &accesslog.AccessLog_TypedConfig{TypedConfig: protoconv.MessageToAny(cfg)},
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/accesslog_test.go

    				}
    			}
    		})
    	}
    }
    
    func verify(t *testing.T, encoding meshconfig.MeshConfig_AccessLogEncoding, got *accesslog.AccessLog, wantFormat string) {
    	cfg, _ := conversion.MessageToStruct(got.GetTypedConfig())
    	if encoding == meshconfig.MeshConfig_JSON {
    		jsonFormat := cfg.GetFields()["log_format"].GetStructValue().GetFields()["json_format"]
    		jsonFormatString, _ := protomarshal.ToJSON(jsonFormat)
    		if jsonFormatString != wantFormat {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. pilot/pkg/model/gateway.go

    	}
    
    	if p == protocol.HTTPS && !gateway.IsPassThroughServer(server) {
    		return "https" + "." + strconv.Itoa(int(server.Port.Number)) + "." +
    			server.Port.Name + "." + cfg.Name + "." + cfg.Namespace + bind // Format: https.%d.%s.%s.%s.%s
    	}
    
    	return ""
    }
    
    // ParseGatewayRDSRouteName is used by the EnvoyFilter patching logic to match
    // a specific route configuration to patch.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/analyzers_test.go

    		inputFiles: []string{
    			"testdata/serviceentry-missing-addresses-protocol.yaml",
    		},
    		meshConfigFile: "testdata/serviceentry-missing-addresses-protocol-mesh-cfg.yaml",
    		analyzer:       &serviceentry.ProtocolAddressesAnalyzer{},
    		expected:       []message{},
    	},
    	{
    		name: "certificate duplication in Gateway",
    		inputFiles: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top