Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for gotSock (0.15 sec)

  1. pkg/kubelet/server/stats/summary_test.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"testing"
    	"time"
    
    	fuzz "github.com/google/gofuzz"
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/provider_test.go

    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	fuzz "github.com/google/gofuzz"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	"go.uber.org/mock/gomock"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	cadvisortest "k8s.io/kubernetes/pkg/kubelet/cadvisor/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"runtime"
    	"testing"
    
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. pkg/kubelet/pleg/generic_test.go

    package pleg
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/component-base/metrics/testutil"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. pkg/kubelet/runonce_test.go

    package kubelet
    
    import (
    	"context"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"go.uber.org/mock/gomock"
    	"k8s.io/mount-utils"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes/fake"
    	"k8s.io/client-go/tools/record"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 06:59:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/tests/go122-annotations.test

    ProcStart dt=505 p=1 p_seq=1
    GoStart dt=303 g=7 g_seq=1
    HeapAlloc dt=646 heapalloc_value=1892352
    HeapAlloc dt=149 heapalloc_value=1900544
    GoBlock dt=146 reason_string=12 stack=24
    GoStart dt=14 g=6 g_seq=1
    HeapAlloc dt=16 heapalloc_value=1908736
    GoBlock dt=347 reason_string=12 stack=25
    EventBatch gen=1 m=167928 time=28113086279032 size=10
    ProcStart dt=451 p=2 p_seq=1
    GoStart dt=188 g=8 g_seq=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/podresources/server_v1_test.go

    limitations under the License.
    */
    
    package podresources
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"sort"
    	"testing"
    
    	"go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  8. cmd/license-update.go

    				duration = time.Second
    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    
    func licenceUpdaterLoop(ctx context.Context, objAPI ObjectLayer) {
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    
    	licenseUpdateTimer := time.NewTimer(licUpdateCycle)
    	defer licenseUpdateTimer.Stop()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-licenseUpdateTimer.C:
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider_test.go

    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    
    	cadvisorfs "github.com/google/cadvisor/fs"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"github.com/stretchr/testify/assert"
    	gomock "go.uber.org/mock/gomock"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/uuid"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  10. cmd/callhome.go

    }
    
    func runCallhome(ctx context.Context, objAPI ObjectLayer) bool {
    	// Make sure only 1 callhome is running on the cluster.
    	locker := objAPI.NewNSLock(minioMetaBucket, "callhome/runCallhome.lock")
    	lkctx, err := locker.GetLock(ctx, callhomeLeaderLockTimeout)
    	if err != nil {
    		// lock timedout means some other node is the leader,
    		// cycle back return 'true'
    		return true
    	}
    
    	ctx = lkctx.Context()
    	defer locker.Unlock(lkctx)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top