Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Basic (0.15 sec)

  1. internal/etag/reader.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package etag
    
    import (
    	"context"
    	"crypto/md5"
    	"fmt"
    	"hash"
    	"io"
    )
    
    // Tagger is the interface that wraps the basic ETag method.
    type Tagger interface {
    	ETag() ETag
    }
    
    type wrapReader struct {
    	io.Reader
    	Tagger
    }
    
    var _ Tagger = wrapReader{} // compiler check
    
    // ETag returns the ETag of the underlying Tagger.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_dryrun_test.go

    		customUID   *int64
    		customGID   *int64
    		golden      string
    	}{
    		{
    			name:        "basic",
    			annotations: map[string]string{annotation.SidecarStatus.Name: "true"},
    			proxyEnv:    []corev1.EnvVar{},
    			golden:      filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/basic.txt.golden"),
    		},
    		{
    			name: "include-exclude-ip",
    			annotations: map[string]string{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    			}
    			list = append(list, buf.String())
    		}
    	}
    	sort.Strings(list)
    	return list
    }
    
    func (w *Walker) writeType(buf *bytes.Buffer, typ types.Type) {
    	switch typ := typ.(type) {
    	case *types.Basic:
    		s := typ.Name()
    		switch typ.Kind() {
    		case types.UnsafePointer:
    			s = "unsafe.Pointer"
    		case types.UntypedBool:
    			s = "ideal-bool"
    		case types.UntypedInt:
    			s = "ideal-int"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. internal/jwt/parser_test.go

    	keyfunc     func(*MapClaims) ([]byte, error)
    	claims      jwt.Claims
    	valid       bool
    	errors      int32
    }{
    	{
    		"basic",
    		"",
    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    			},
    		},
    		true,
    		0,
    	},
    	{
    		"basic expired",
    		"", // autogen
    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  5. cni/pkg/install/binaries_test.go

    func TestCopyBinaries(t *testing.T) {
    	cases := []struct {
    		name          string
    		srcFiles      map[string]string
    		existingFiles map[string]string
    		expectedFiles map[string]string
    	}{
    		{
    			name:          "basic",
    			srcFiles:      map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"},
    			expectedFiles: map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"},
    		},
    		{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jul 20 18:34:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

    		// pretty different outputs for the full JSON output. This makes it a useful command for developers, but may be overwhelming
    		// for basic usage. For now, hide to avoid confusion.
    		Hidden: true,
    		Short:  "Retrieves endpoint configuration for the Envoy in the specified pod",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  7. model.go

    package gorm
    
    import "time"
    
    // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt
    // It may be embedded into your model or you may build your own model without it
    //
    //	type User struct {
    //	  gorm.Model
    //	}
    type Model struct {
    	ID        uint `gorm:"primarykey"`
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	DeletedAt DeletedAt `gorm:"index"`
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Feb 18 01:06:43 GMT 2023
    - 396 bytes
    - Viewed (0)
  8. internal/config/notify/help.go

    		},
    		config.HelpKV{
    			Key:         target.ElasticUsername,
    			Description: "username for Elasticsearch basic-auth",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.ElasticPassword,
    			Description: "password for Elasticsearch basic-auth",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  9. internal/event/target/elasticsearch.go

    	// Client options
    	elasticConfig := elasticsearch7.Config{
    		Addresses:  []string{args.URL.String()},
    		Transport:  args.Transport,
    		MaxRetries: 10,
    	}
    	// Set basic auth
    	if args.Username != "" && args.Password != "" {
    		elasticConfig.Username = args.Username
    		elasticConfig.Password = args.Password
    	}
    	// Create a client
    	client, err := elasticsearch7.NewClient(elasticConfig)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/metacache-entries_test.go

    		testName string
    		entry    string
    		dir      string
    		sep      string
    		want     bool
    	}{
    		{
    			testName: "basic-file",
    			entry:    "src/file",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    			testName: "basic-dir",
    			entry:    "src/dir/",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
Back to top