Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Carnes (0.25 sec)

  1. cni/pkg/plugin/sidecar_iptables_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"fmt"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/bucket-quota.go

    		}
    	}
    
    	if len(dui.BucketsUsage) > 0 {
    		bui, ok := dui.BucketsUsage[bucket]
    		if ok {
    			return bui, nil
    		}
    	}
    	return BucketUsageInfo{}, nil
    }
    
    // parseBucketQuota parses BucketQuota from json
    func parseBucketQuota(bucket string, data []byte) (quotaCfg *madmin.BucketQuota, err error) {
    	quotaCfg = &madmin.BucketQuota{}
    	if err = json.Unmarshal(data, quotaCfg); err != nil {
    		return quotaCfg, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses.go

    		var totalSize uint64 = 1
    		for _, p := range argPattern {
    			totalSize *= uint64(len(p.Seq))
    		}
    		totalSizes = append(totalSizes, totalSize)
    	}
    	return totalSizes
    }
    
    // Parses all arguments and returns an endpointSet which is a collection
    // of endpoints following the ellipses pattern, this is what is used
    // by the object layer for initializing itself.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. internal/config/storageclass/storage-class.go

    	}
    	return []byte{}, nil
    }
    
    func (sc *StorageClass) String() string {
    	if sc.Parity != 0 {
    		return fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)
    	}
    	return ""
    }
    
    // Parses given storageClassEnv and returns a storageClass structure.
    // Supported Storage Class format is "Scheme:Number of parity drives".
    // Currently only supported scheme is "EC".
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    	var arns []string
    	if rCfg.RoleArn != "" {
    		arns = append(arns, rCfg.RoleArn)
    	} else {
    		for _, rule := range rCfg.Rules {
    			arns = append(arns, rule.Destination.String())
    		}
    	}
    	var sameTarget bool
    	for _, arnStr := range arns {
    		arn, err := madmin.ParseARN(arnStr)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. cmd/api-router.go

    		// GetObjectLegalHold
    		router.Methods(http.MethodGet).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.GetObjectLegalHoldHandler)).
    			Queries("legal-hold", "")
    		// GetObject with lambda ARNs
    		router.Methods(http.MethodGet).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.GetObjectLambdaHandler, traceHdrsS3HFlag)).
    			Queries("lambdaArn", "{lambdaArn:.*}")
    		// GetObject
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. internal/kms/single-key.go

    	"github.com/secure-io/sio-go/sioutil"
    	"golang.org/x/crypto/chacha20"
    	"golang.org/x/crypto/chacha20poly1305"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // Parse parses s as single-key KMS. The given string
    // is expected to have the following format:
    //
    //	<key-id>:<base64-key>
    //
    // The returned KMS implementation uses the parsed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    		ext = tok.String()
    	}
    	if p.peek() == lex.LSH {
    		// parses left shift amount applied after extension: <<Amount
    		p.get(lex.LSH)
    		tok := p.get(scanner.Int)
    		amount, err := strconv.ParseInt(tok.String(), 10, 16)
    		if err != nil {
    			p.errorf("parsing left shift amount: %s", err)
    		}
    		num = int16(amount)
    	} else if p.peek() == '[' {
    		// parses an element: [Index]
    		p.get('[')
    		tok := p.get(scanner.Int)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    	k, err := crypto.SSECopy.ParseHTTP(h)
    	return k[:], err
    }
    
    // ParseSSECustomerRequest parses the SSE-C header fields of the provided request.
    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    	OutputLocation   OutputLocation     `xml:"OutputLocation,omitempty"`
    }
    
    // Maximum 2MiB size per restore object request.
    const maxRestoreObjectRequestSize = 2 << 20
    
    // parseRestoreRequest parses RestoreObjectRequest from xml
    func parseRestoreRequest(reader io.Reader) (*RestoreObjectRequest, error) {
    	req := RestoreObjectRequest{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top