Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for STSEnabled (0.13 sec)

  1. pkg/bootstrap/option/instances.go

    func GCPProjectNumber(value string) Instance {
    	return newOption("gcp_project_number", value)
    }
    
    func Metadata(meta *model.BootstrapNodeMetadata) Instance {
    	return newOption("metadata", meta)
    }
    
    func STSEnabled(value bool) Instance {
    	return newOption("sts", value)
    }
    
    func DiscoveryHost(value string) Instance {
    	return newOption("discovery_host", value)
    }
    
    func MetadataDiscovery(value bool) Instance {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. pkg/bootstrap/option/instances_test.go

    			option:   option.EnvoyStatsMatcherInclusionRegexp([]string{"fake"}),
    			expected: []string{"fake"},
    		},
    		{
    			testName: "sts enabled",
    			key:      "sts",
    			option:   option.STSEnabled(true),
    			expected: true,
    		},
    		{
    			testName: "sts port",
    			key:      "sts_port",
    			option:   option.STSPort(5555),
    			expected: 5555,
    		},
    		{
    			testName: "project id",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. pkg/bootstrap/config.go

    	}
    
    	if cfg.Metadata.StsPort != "" {
    		stsPort, err := strconv.Atoi(cfg.Metadata.StsPort)
    		if err == nil && stsPort > 0 {
    			opts = append(opts,
    				option.STSEnabled(true),
    				option.STSPort(stsPort))
    			md := cfg.Metadata.PlatformMetadata
    			if projectID, found := md[platform.GCPProject]; found {
    				opts = append(opts, option.GCPProjectID(projectID))
    			}
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top