Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for json (0.17 sec)

  1. cmd/xl-storage-format-v1.go

    	} `json:"minio"`
    	// Metadata map for current object `xl.meta`.
    	Meta map[string]string `json:"meta,omitempty"`
    	// Captures all the individual object `xl.meta`.
    	Parts []ObjectPartInfo `json:"parts,omitempty"`
    
    	// Dummy values used for legacy use cases.
    	VersionID string `json:"versionId,omitempty"`
    	DataDir   string `json:"dataDir,omitempty"` // always points to "legacy"
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    	if err != nil {
    		return "", err
    	}
    	var values struct {
    		SidecarInjectorWebhook struct {
    			Global struct {
    				Proxy struct {
    					LogLevel string `json:"logLevel"`
    				} `json:"proxy"`
    			} `json:"global"`
    		} `json:"sidecarInjectorWebhook"`
    	}
    	if err := yaml.Unmarshal([]byte(valuesConfig), &values); err != nil {
    		return "", fmt.Errorf("failed to parse values config: %v [%v]", err, valuesConfig)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. cmd/site-replication-metrics.go

    type SRMetric struct {
    	DeploymentID  string             `json:"deploymentID"`
    	Endpoint      string             `json:"endpoint"`
    	TotalDowntime time.Duration      `json:"totalDowntime"`
    	LastOnline    time.Time          `json:"lastOnline"`
    	Online        bool               `json:"isOnline"`
    	Latency       madmin.LatencyStat `json:"latency"`
    
    	// replication metrics across buckets roll up
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. internal/event/target/postgresql.go

    type PostgreSQLArgs struct {
    	Enable             bool      `json:"enable"`
    	Format             string    `json:"format"`
    	ConnectionString   string    `json:"connectionString"`
    	Table              string    `json:"table"`
    	Host               xnet.Host `json:"host"`     // default: localhost
    	Port               string    `json:"port"`     // default: 5432
    	Username           string    `json:"username"` // default: user running minio
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. internal/kms/kms.go

    )
    
    // MarshalText encodes the DEK's key ID and ciphertext
    // as JSON.
    func (d DEK) MarshalText() ([]byte, error) {
    	type JSON struct {
    		KeyID      string `json:"keyid"`
    		Ciphertext []byte `json:"ciphertext"`
    	}
    	return json.Marshal(JSON{
    		KeyID:      d.KeyID,
    		Ciphertext: d.Ciphertext,
    	})
    }
    
    // UnmarshalText tries to decode text as JSON representation
    // of a DEK and sets DEK's key ID and ciphertext to the
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. cmd/format-erasure.go

    	Erasure struct {
    		Version string `json:"version"`
    	} `json:"xl"`
    }
    
    // Represents the V1 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    // formatErasureV1 - structure holds format config version '1'.
    type formatErasureV1 struct {
    	formatMetaV1
    	Erasure struct {
    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  7. internal/logger/target/kafka/kafka.go

    		ClientTLSKey  string             `json:"clientTLSKey"`
    	} `json:"tls"`
    	SASL struct {
    		Enable    bool   `json:"enable"`
    		User      string `json:"username"`
    		Password  string `json:"password"`
    		Mechanism string `json:"mechanism"`
    	} `json:"sasl"`
    	// Queue store
    	QueueSize int    `json:"queueSize"`
    	QueueDir  string `json:"queueDir"`
    
    	// Custom logger
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  8. schema/serializer.go

    	result, err := json.Marshal(fieldValue)
    	if string(result) == "null" {
    		if field.TagSettings["NOT NULL"] != "" {
    			return "", nil
    		}
    		return nil, err
    	}
    	return string(result), err
    }
    
    // UnixSecondSerializer json serializer
    type UnixSecondSerializer struct{}
    
    // Scan implements serializer interface
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 08:28:46 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. docs/debugging/inspect/main.go

    	// Parse parameters
    	switch {
    	case *stdin:
    		// Parse 'mc support inspect --json' output
    		input := struct {
    			File string `json:"file"`
    			Key  string `json:"key"`
    		}{}
    		got, err := io.ReadAll(os.Stdin)
    		if err != nil {
    			fatalErr(err)
    		}
    		fatalErr(json.Unmarshal(got, &input))
    		inputFileName = input.File
    		*keyHex = input.Key
    	case len(flag.Args()) == 1:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig.go

    		outputFormat: outputFormat,
    	}}
    }
    
    type ScopeInfo struct {
    	Name            string `json:"name"`
    	Description     string `json:"description,omitempty"`
    	OutputLevel     string `json:"output_level,omitempty"`
    	StackTraceLevel string `json:"stack_trace_level,omitempty"`
    	LogCallers      bool   `json:"log_callers,omitempty"`
    }
    
    type ScopeLevelPair struct {
    	scope    string
    	logLevel string
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top