Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 275 for helper (0.2 sec)

  1. internal/config/subnet/help.go

    	}
    
    	// HelpSubnet - provides help for subnet api key config
    	HelpSubnet = config.HelpKVS{
    		config.HelpKV{
    			Key:         config.License, // Deprecated Dec 2021
    			Type:        "string",
    			Description: "[DEPRECATED use api_key] Subnet license token for the cluster" + defaultHelpPostfix(config.License),
    			Optional:    true,
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         config.APIKey,
    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)
  2. internal/config/policy/opa/help.go

    package opa
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for OPA policy feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         URL,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    				Results:   c.execClientConfig,
    				Namespace: "default",
    			})), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/sds/writer_test.go

    			}
    			checkOutput(t, w.String(), tt.expected, tt.unexpected)
    		})
    	}
    }
    
    func checkOutput(t *testing.T, output string, expected, unexpected []string) {
    	t.Helper()
    	for _, expected := range expected {
    		if !strings.Contains(output, expected) {
    			t.Errorf("expected %s included in writer output, did not find", expected)
    		}
    	}
    	for _, unexpected := range unexpected {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  5. cmd/lock-rest-server-common_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"os"
    	"reflect"
    	"sync"
    	"testing"
    
    	"github.com/minio/minio/internal/dsync"
    )
    
    // Helper function to create a lock server for testing
    func createLockTestServer(ctx context.Context, t *testing.T) (string, *lockRESTServer, string) {
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 23 17:26:21 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. internal/config/cache/remote.go

    	preamble()
    
    	if !oi.ModTime.IsZero() {
    		w.Header().Set(xhttp.LastModified, oi.ModTime.UTC().Format(http.TimeFormat))
    	}
    
    	if oi.ETag != "" {
    		w.Header()[xhttp.ETag] = []string{"\"" + oi.ETag + "\""}
    	}
    
    	if oi.Expires != "" {
    		w.Header().Set(xhttp.Expires, oi.Expires)
    	}
    
    	if oi.CacheControl != "" {
    		w.Header().Set(xhttp.CacheControl, oi.CacheControl)
    	}
    
    	statusCode()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. cmd/handler-utils_test.go

    			},
    			shouldFail: false,
    		},
    		// Fail if header key is not in canonicalized form
    		{
    			header: http.Header{
    				"x-amz-meta-appid": []string{"amz-meta"},
    			},
    			metadata: map[string]string{
    				"x-amz-meta-appid": "amz-meta",
    			},
    			shouldFail: false,
    		},
    		// Support multiple values
    		{
    			header: http.Header{
    				"x-amz-meta-key": []string{"amz-meta1", "amz-meta2"},
    			},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    	}
    
    	// "x-amz-content-sha256" header value from the extracted result.
    	extractedContentSha256 := extractedSignedHeaders.Get("x-amz-content-sha256")
    	// "host" header value from the extracted result.
    	extractedHost := extractedSignedHeaders.Get("host")
    	//  "x-amz-date" header from the extracted result.
    	extractedDate := extractedSignedHeaders.Get("x-amz-date")
    	// extracted `expect` header.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. internal/s3select/genmessage.go

    	buf.Write([]byte{0, 5})
    	buf.WriteString("event")
    
    	buf.WriteByte(11)
    	buf.WriteString(":event-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 4})
    	buf.WriteString("Cont")
    
    	header := buf.Bytes()
    	headerLength := len(header)
    	payloadLength := 0
    	totalLength := totalByteLength(headerLength, payloadLength)
    
    	buf = new(bytes.Buffer)
    	binary.Write(buf, binary.BigEndian, uint32(totalLength))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  10. internal/crypto/sse_test.go

    	}
    }
    
    var ssecUnsealObjectKeyTests = []struct {
    	Headers        http.Header
    	Bucket, Object string
    	Metadata       map[string]string
    
    	ExpectedErr error
    }{
    	{ // 0 - Valid HTTP headers and valid metadata entries for bucket/object
    		Headers: http.Header{
    			"X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Viewed (0)
Back to top