Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for base_uri (0.23 sec)

  1. cmd/license-update.go

    		}
    	}
    }
    
    func performLicenseUpdate(ctx context.Context, objectAPI ObjectLayer) {
    	// the subnet license renewal api renews the license only
    	// if required e.g. when it is expiring soon
    	url := globalSubnetConfig.BaseURL + licRenewPath
    
    	resp, err := globalSubnetConfig.Post(url, nil)
    	if err != nil {
    		subnetLogIf(ctx, fmt.Errorf("error from %s: %w", url, err))
    		return
    	}
    
    	r := gjson.Parse(resp).Get("license_v2")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/callhome.go

    			return
    		}
    	}
    }
    
    const (
    	subnetHealthPath = "/api/health/upload"
    )
    
    func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error {
    	url := globalSubnetConfig.BaseURL + subnetHealthPath
    
    	filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405"))
    	url += "?filename=" + filename
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  3. internal/config/subnet/config.go

    	}
    	os.Setenv("CONSOLE_SUBNET_URL", c.BaseURL)
    }
    
    // Update - in-place update with new license and registration information.
    func (c *Config) Update(ncfg Config, isDevEnv bool) {
    	configLock.Lock()
    	defer configLock.Unlock()
    
    	c.License = ncfg.License
    	c.APIKey = ncfg.APIKey
    	c.Proxy = ncfg.Proxy
    	c.transport = ncfg.transport
    	c.BaseURL = baseURL
    
    	if isDevEnv {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top