Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,692 for spring (0.33 sec)

  1. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    )
    
    type PeerAdvertiseAddress struct {
    	PeerAdvertiseIP   string
    	PeerAdvertisePort string
    }
    
    type peerEndpointLeases struct {
    	storage   storage.Interface
    	destroyFn func()
    	baseKey   string
    	leaseTime time.Duration
    }
    
    type PeerEndpointLeaseReconciler interface {
    	// GetEndpoint retrieves the endpoint for a given apiserverId
    	GetEndpoint(serverId string) (string, error)
    	// UpdateLease updates the ip and port of peer servers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/crypto/rsa/pkcs1v15.go

    		return nil, err
    	}
    	k := pub.Size()
    	if len(msg) > k-11 {
    		return nil, ErrMessageTooLong
    	}
    
    	if boring.Enabled && random == boring.RandReader {
    		bkey, err := boringPublicKey(pub)
    		if err != nil {
    			return nil, err
    		}
    		return boring.EncryptRSAPKCS1(bkey, msg)
    	}
    	boring.UnreachableExceptTests()
    
    	// EM = 0x00 || 0x02 || PS || 0x00 || M
    	em := make([]byte, k)
    	em[1] = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/leaderelection_test.go

    }
    
    func createPerRevisionElection(t *testing.T,
    	name string, revision string,
    	watcher revisions.DefaultWatcher,
    	expectLeader bool,
    	client kubernetes.Interface,
    ) (*LeaderElection, chan struct{}) {
    	t.Helper()
    	return createElectionMulticluster(t, name, revision, false, true, watcher, expectLeader, client)
    }
    
    func createElectionMulticluster(t *testing.T,
    	name, revision string,
    	remote, perRevision bool,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/kubelet/lifecycle/predicate.go

    	PredicateDesc string
    }
    
    func (e *PredicateFailureError) Error() string {
    	return fmt.Sprintf("Predicate %s failed", e.PredicateName)
    }
    
    // GetReason returns the reason of the PredicateFailureError.
    func (e *PredicateFailureError) GetReason() string {
    	return e.PredicateDesc
    }
    
    // generalFilter checks a group of filterings that the kubelet cares about.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 00:47:50 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. src/mime/multipart/formdata_test.go

    // license that can be found in the LICENSE file.
    
    package multipart
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"math"
    	"net/textproto"
    	"os"
    	"strings"
    	"testing"
    )
    
    func TestReadForm(t *testing.T) {
    	b := strings.NewReader(strings.ReplaceAll(message, "\n", "\r\n"))
    	r := NewReader(b, boundary)
    	f, err := r.ReadForm(25)
    	if err != nil {
    		t.Fatal("ReadForm:", err)
    	}
    	defer f.RemoveAll()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. cmd/endpoint_test.go

    	testCases := []struct {
    		endpointArgs   []string
    		expectedResult []string
    		expectedLocal  string
    	}{
    		{[]string{"/d1", "/d2", "d3", "d4"}, []string{}, ""},
    		{[]string{"http://localhost:9000/d1", "http://localhost:9000/d2", "http://example.org:9000/d3", "http://example.com:9000/d4"}, []string{"example.com:9000", "example.org:9000", "localhost:9000"}, "localhost:9000"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    	if opts != nil {
    		tr.Custom = map[string]string{
    			"dry":    fmt.Sprint(opts.DryRun),
    			"remove": fmt.Sprint(opts.Remove),
    			"mode":   fmt.Sprint(opts.ScanMode),
    		}
    		if result != nil {
    			tr.Custom["version-id"] = result.VersionID
    			tr.Custom["disks"] = strconv.Itoa(result.DiskCount)
    			tr.Bytes = result.ObjectSize
    		}
    	}
    	if err != nil {
    		tr.Error = err.Error()
    	}
    	tr.HealResult = result
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  8. pkg/kube/inject/inject.go

    	Values                   map[string]any
    	Revision                 string
    	ProxyImage               string
    	ProxyUID                 int64
    	ProxyGID                 int64
    	InboundTrafficPolicyMode string
    	CompliancePolicy         string
    }
    
    type (
    	Template     *corev1.Pod
    	RawTemplates map[string]string
    	Templates    map[string]*template.Template
    )
    
    type Injector interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (1)
  9. src/internal/reflectlite/all_test.go

    	{Basic{1, 0.5}, Basic{1, 0.6}, false},
    	{Basic{1, 0}, Basic{2, 0}, false},
    	{map[int]string{1: "one", 3: "two"}, map[int]string{2: "two", 1: "one"}, false},
    	{map[int]string{1: "one", 2: "txo"}, map[int]string{2: "two", 1: "one"}, false},
    	{map[int]string{1: "one"}, map[int]string{2: "two", 1: "one"}, false},
    	{map[int]string{2: "two", 1: "one"}, map[int]string{1: "one"}, false},
    	{nil, 1, false},
    	{1, nil, false},
    	{fn1, fn3, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  10. migrator/migrator.go

    		*gorm.Statement
    		Depends []*schema.Schema
    	}
    
    	var (
    		modelNames, orderedModelNames []string
    		orderedModelNamesMap          = map[string]bool{}
    		parsedSchemas                 = map[*schema.Schema]bool{}
    		valuesMap                     = map[string]Dependency{}
    		insertIntoOrderedList         func(name string)
    		parseDependence               func(value interface{}, addToList bool)
    	)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top