Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for submit (0.45 sec)

  1. internal/config/subnet/subnet.go

    		return respStr, nil
    	}
    
    	return respStr, fmt.Errorf("SUBNET request failed with code %d and error: %s", resp.StatusCode, respStr)
    }
    
    // Post submit 'payload' to specified URL
    func (c Config) Post(reqURL string, payload interface{}) (string, error) {
    	if !c.Registered() {
    		return "", errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 27 16:35:36 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  2. internal/config/subnet/config.go

    	config.KV{
    		Key:   config.Proxy,
    		Value: "",
    	},
    }
    
    // Config represents the subnet related configuration
    type Config struct {
    	// The subnet license token - Deprecated Dec 2021
    	License string `json:"license"`
    
    	// The subnet api key
    	APIKey string `json:"apiKey"`
    
    	// The HTTP(S) proxy URL to use for connecting to SUBNET
    	Proxy string `json:"proxy"`
    
    	// Transport configured with proxy_url if set optionally.
    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)
  3. internal/config/subnet/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package subnet
    
    import "github.com/minio/minio/internal/config"
    
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// HelpSubnet - provides help for subnet api key config
    	HelpSubnet = config.HelpKVS{
    		config.HelpKV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jul 13 19:24:47 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. internal/config/constants.go

    	EnvDNSWebhook = "MINIO_DNS_WEBHOOK_ENDPOINT"
    
    	EnvSiteName   = "MINIO_SITE_NAME"
    	EnvSiteRegion = "MINIO_SITE_REGION"
    
    	EnvMinIOSubnetLicense = "MINIO_SUBNET_LICENSE" // Deprecated Dec 2021
    	EnvMinIOSubnetAPIKey  = "MINIO_SUBNET_API_KEY"
    	EnvMinIOSubnetProxy   = "MINIO_SUBNET_PROXY"
    
    	EnvMinIOCallhomeEnable    = "MINIO_CALLHOME_ENABLE"
    	EnvMinIOCallhomeFrequency = "MINIO_CALLHOME_FREQUENCY"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  5. internal/amztime/iso8601_time.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package amztime
    
    import (
    	"strings"
    	"time"
    )
    
    // RFC3339 a subset of the ISO8601 timestamp format. e.g 2014-04-29T18:30:38Z
    const (
    	iso8601TimeFormat     = "2006-01-02T15:04:05.000Z"    // Reply date format with millisecond precision.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 16 23:38:33 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. internal/config/cache/cache.go

    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    		Key:   Endpoint,
    		Value: "",
    	},
    	config.KV{
    		Key:   BlockSize,
    		Value: "",
    	},
    }
    
    // Config represents the subnet related configuration
    type Config struct {
    	// Flag indicating whether cache is enabled.
    	Enable bool `json:"enable"`
    
    	// Endpoint for caching uses remote mcache server to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. chainable_api.go

    	if len(args) > 0 {
    		tx = tx.Select(args[0], args[1:]...)
    	}
    	return
    }
    
    // Select specify fields that you want when querying, creating, updating
    //
    // Use Select when you only want a subset of the fields. By default, GORM will select all fields.
    // Select accepts both string arguments and arrays.
    //
    //	// Select name and age of user using multiple arguments
    //	db.Select("name", "age").Find(&users)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  8. cmd/admin-handlers-config-kv.go

    }
    
    // setLoggerWebhookSubnetProxy - Sets the logger webhook's subnet proxy value to
    // one being set for subnet proxy
    func setLoggerWebhookSubnetProxy(subSys string, cfg config.Config) bool {
    	if subSys == config.SubnetSubSys || subSys == config.LoggerWebhookSubSys {
    		subnetWebhookCfg := cfg[config.LoggerWebhookSubSys][subnet.LoggerWebhookName]
    		loggerWebhookSubnetProxy := subnetWebhookCfg.Get(logger.Proxy)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  9. cmd/config-current.go

    		config.HelpKV{
    			Key:         config.SubnetSubSys,
    			Type:        "string",
    			Description: "register the cluster to MinIO SUBNET",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.CallhomeSubSys,
    			Type:        "string",
    			Description: "enable callhome to MinIO SUBNET",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.DriveSubSys,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  10. internal/config/callhome/callhome.go

    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    		Key:   Frequency,
    		Value: "24h",
    	},
    }
    
    // callhomeCycleDefault is the default interval between two callhome cycles (24hrs)
    const callhomeCycleDefault = 24 * time.Hour
    
    // Config represents the subnet related configuration
    type Config struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top