Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 329 for encoding (0.3 sec)

  1. internal/kms/kms.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"context"
    	"encoding"
    	"encoding/json"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/kms-go/kes"
    )
    
    // KMS is the generic interface that abstracts over
    // different KMS implementations.
    type KMS interface {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    			// Make sure to trim and save the content-encoding
    			// parameter for a streaming signature which is set
    			// to a custom value for example: "aws-chunked,gzip".
    			metadata[strings.ToLower(xhttp.ContentEncoding)] = contentEncoding
    		} else {
    			// Trimmed content encoding is empty when the header
    			// value is set to "aws-chunked" only.
    
    			// Make sure to delete the content-encoding parameter
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  3. cmd/bucket-encryption-handlers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"encoding/base64"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. internal/s3select/select_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package s3select
    
    import (
    	"bytes"
    	"encoding/xml"
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/klauspost/cpuid/v2"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/simdjson-go"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  5. cmd/streaming-signature-v4.go

    // lineTooLong is generated as chunk header is bigger than 4KiB.
    var errLineTooLong = errors.New("header line too long")
    
    // malformed encoding is generated when chunk header is wrongly formed.
    var errMalformedEncoding = errors.New("malformed chunked encoding")
    
    // chunk is considered too big if its bigger than > 16MiB.
    var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  6. cmd/signature-v2.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"crypto/hmac"
    	"crypto/sha1"
    	"crypto/subtle"
    	"encoding/base64"
    	"fmt"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    
    	xhttp "github.com/minio/minio/internal/http"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  7. docs/debugging/inspect/main.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    )
    
    var (
    	keyHex      = flag.String("key", "", "decryption key")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. internal/event/name_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import (
    	"encoding/json"
    	"encoding/xml"
    	"reflect"
    	"testing"
    )
    
    func TestNameExpand(t *testing.T) {
    	testCases := []struct {
    		name           Name
    		expectedResult []Name
    	}{
    		{BucketCreated, []Name{BucketCreated}},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/prefix.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    )
    
    // Prefix holds the prefix xml tag in <Rule> and <Filter>
    type Prefix struct {
    	string
    	set    bool
    	Unused struct{} // Needed for GOB compatibility
    }
    
    // UnmarshalXML - decodes XML data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 14:45:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. internal/bucket/replication/tag.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package replication
    
    import (
    	"encoding/xml"
    	"unicode/utf8"
    )
    
    // Tag - a tag for a replication configuration Rule filter.
    type Tag struct {
    	XMLName xml.Name `xml:"Tag" json:"Tag"`
    	Key     string   `xml:"Key,omitempty" json:"Key,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
Back to top