Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 453 for Kata (0.14 sec)

  1. cmd/data-usage-cache.go

    		hashPathCutSet = dataUsageRoot + string(filepath.Separator)
    	}
    }
    
    // hashPath calculates a hash of the provided string.
    func hashPath(data string) dataUsageHash {
    	if data != dataUsageRoot {
    		data = strings.Trim(data, hashPathCutSet)
    	}
    	return dataUsageHash(path.Clean(data))
    }
    
    //msgp:ignore dataUsageHashMap
    type dataUsageHashMap map[string]struct{}
    
    // DecodeMsg implements msgp.Decodable
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  2. cmd/xl-storage-format-v2_test.go

    	}
    
    	// Remove entry
    	xl2.data.remove(fi.VersionID)
    	failOnErr(xl2.data.validate())
    	if xl2.data.find(fi.VersionID) != nil {
    		t.Fatal("Data was not removed:", xl2.data.find(fi.VersionID))
    	}
    	if xl2.data.entries() != 1 {
    		t.Fatal("want 1 entry, got", xl2.data.entries())
    	}
    	// Re-add
    	xl2.data.replace(fi.VersionID, fi.Data)
    	failOnErr(xl2.data.validate())
    	if xl2.data.entries() != 2 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  3. docs/kms/IAM.md

    # KMS IAM/Config Encryption
    
    MinIO supports encrypting config, IAM assets with KMS provided keys. If the KMS is not enabled, MinIO will store the config, IAM data as plain text erasure coded in its backend.
    
    ## MinIO KMS Quick Start
    
    MinIO supports two ways of encrypting IAM and configuration data.
    You can either use KES - together with an external KMS - or, much simpler,
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. cmd/config-encrypted_test.go

    		SecretKey: "minio123",
    	}
    
    	cred2 := auth.Credentials{
    		AccessKey: "minio",
    		SecretKey: "minio1234",
    	}
    
    	data := []byte(`config data`)
    	edata1, err := madmin.EncryptData(cred1.String(), data)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	edata2, err := madmin.EncryptData(cred2.String(), data)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := []struct {
    		edata   []byte
    		cred    auth.Credentials
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. cmd/config-common.go

    		return errConfigNotFound
    	}
    	return err
    }
    
    func saveConfigWithOpts(ctx context.Context, store objectIO, configFile string, data []byte, opts ObjectOptions) error {
    	hashReader, err := hash.NewReader(ctx, bytes.NewReader(data), int64(len(data)), "", getSHA256Hash(data), int64(len(data)))
    	if err != nil {
    		return err
    	}
    
    	_, err = store.PutObject(ctx, minioMetaBucket, configFile, NewPutObjReader(hashReader), opts)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-utils.go

    				ModTime:   timeSentinel1970,
    			}, nil
    		}
    		inData = xlMeta.data
    		fi, err = xlMeta.ToFileInfo(volume, path, versionID, false, allParts)
    	}
    	if !data || err != nil {
    		return fi, err
    	}
    	versionID = fi.VersionID
    	if versionID == "" {
    		versionID = nullVersionID
    	}
    	fi.Data = inData.find(versionID)
    	if len(fi.Data) == 0 {
    		// PR #11758 used DataDir, preserve it
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1.go

    		version == xlMetaVersion100) &&
    		format == xlMetaFormat)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the ErasureInfo, i.e. data and parity blocks.
    func isXLMetaErasureInfoValid(data, parity int) bool {
    	return ((data >= parity) && (data > 0) && (parity >= 0))
    }
    
    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    type xlMetaV1Object struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. README.md

    > NOTE: To deploy MinIO on with persistent storage, you must map local persistent directories from the host OS to the container using the `podman -v` option. For example, `-v /mnt/data:/data` maps the host OS drive at `/mnt/data` to `/data` on the container.
    
    ## macOS
    
    Use the following commands to run a standalone MinIO server on macOS.
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 14 17:51:34 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. docs/metrics/README.md

    # MinIO Monitoring Guide
    
    MinIO server exposes monitoring data over endpoints. Monitoring tools can pick the data from these endpoints. This document lists the monitoring endpoints and relevant documentation.
    
    ## Healthcheck Probe
    
    MinIO server has two healthcheck related un-authenticated endpoints, a liveness probe to indicate if server is responding, cluster probe to check if server can be taken down for maintenance.
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 29 18:35:20 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. internal/event/targetid.go

    	return ARN{TargetID: tid, region: region}
    }
    
    // MarshalJSON - encodes to JSON data.
    func (tid TargetID) MarshalJSON() ([]byte, error) {
    	return json.Marshal(tid.String())
    }
    
    // UnmarshalJSON - decodes JSON data.
    func (tid *TargetID) UnmarshalJSON(data []byte) error {
    	var s string
    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	targetID, err := parseTargetID(s)
    	if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
Back to top