Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for initConsoleServer (0.1 sec)

  1. cmd/server-main.go

    			globalIAMSys.Init(GlobalContext, newObject, globalEtcdClient, globalRefreshIAMInterval)
    		})
    
    		// Initialize Console UI
    		if globalBrowserEnabled {
    			bootstrapTrace("initConsoleServer", func() {
    				srv, err := initConsoleServer()
    				if err != nil {
    					logger.FatalIf(err, "Unable to initialize console service")
    				}
    
    				setConsoleSrv(srv)
    
    				go func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (2)
  2. cmd/common-main.go

    			RedirectCallback:        callback,
    			EndSessionEndpoint:      cfg.DiscoveryDoc.EndSessionEndpoint,
    			RoleArn:                 cfg.GetRoleArn(),
    		}
    	}
    	return m
    }
    
    func initConsoleServer() (*consoleapi.Server, error) {
    	// unset all console_ environment variables.
    	for _, cenv := range env.List(consolePrefix) {
    		os.Unsetenv(cenv)
    	}
    
    	// enable all console environment variables
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top