Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Content (0.17 sec)

  1. internal/logger/config.go

    	if key != config.Default {
    		envName = envName + config.Default + key
    	}
    	return env.Get(envName, defaultValue)
    }
    
    func lookupLegacyConfigForSubSys(ctx context.Context, subSys string) Config {
    	cfg := NewConfig()
    	switch subSys {
    	case config.LoggerWebhookSubSys:
    		var loggerTargets []string
    		envs := env.List(legacyEnvLoggerHTTPEndpoint)
    		for _, k := range envs {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. internal/config/identity/plugin/config.go

    		o.args.RoleARN: o.args.RolePolicy,
    	}
    }
    
    // checkConnectivity returns true if we are able to connect to the plugin
    // service.
    func (o *AuthNPlugin) checkConnectivity(ctx context.Context) bool {
    	ctx, cancel := context.WithTimeout(ctx, healthCheckTimeout)
    	defer cancel()
    	u := url.URL(*o.args.URL)
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodHead, u.String(), nil)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
Back to top