Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for gotSock (0.18 sec)

  1. pkg/kubelet/eviction/mock_threshold_notifier_test.go

    //
    
    // Package eviction is a generated GoMock package.
    package eviction
    
    import (
    	context "context"
    	reflect "reflect"
    	time "time"
    
    	gomock "go.uber.org/mock/gomock"
    	v1alpha1 "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    )
    
    // MockManager is a mock of Manager interface.
    type MockManager struct {
    	ctrl     *gomock.Controller
    	recorder *MockManagerMockRecorder
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/podresources/testing/provider_mock.go

    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	reflect "reflect"
    
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	v10 "k8s.io/kubelet/pkg/apis/podresources/v1"
    )
    
    // MockDevicesProvider is a mock of DevicesProvider interface.
    type MockDevicesProvider struct {
    	ctrl     *gomock.Controller
    	recorder *MockDevicesProviderMockRecorder
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. pkg/kubelet/status/testing/mock_pod_status_provider.go

    //
    //	mockgen -source=status_manager.go -destination=testing/mock_pod_status_provider.go -package=testing PodStatusProvider
    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	reflect "reflect"
    
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	types "k8s.io/apimachinery/pkg/types"
    	container "k8s.io/kubernetes/pkg/kubelet/container"
    	types0 "k8s.io/kubernetes/pkg/kubelet/types"
    )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. pkg/kubelet/container/testing/runtime_mock.go

    //
    //	mockgen -source=runtime.go -destination=testing/runtime_mock.go -package=testing Runtime
    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	context "context"
    	io "io"
    	url "net/url"
    	reflect "reflect"
    	time "time"
    
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	types "k8s.io/apimachinery/pkg/types"
    	remotecommand "k8s.io/client-go/tools/remotecommand"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. pkg/kubelet/server/stats/testing/mock_stats_provider.go

    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	context "context"
    	reflect "reflect"
    
    	v1 "github.com/google/cadvisor/info/v1"
    	v2 "github.com/google/cadvisor/info/v2"
    	gomock "go.uber.org/mock/gomock"
    	v10 "k8s.io/api/core/v1"
    	types "k8s.io/apimachinery/pkg/types"
    	v1alpha1 "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. pkg/kubelet/images/image_gc_manager_test.go

    	}
    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    	mockStatsProvider := statstest.NewMockProvider(mockCtrl)
    	manager, _ := newRealImageGCManager(policy, mockStatsProvider)
    
    	// Expect 40% usage.
    	imageStats := &statsapi.FsStats{
    		AvailableBytes: uint64Ptr(600),
    		CapacityBytes:  uint64Ptr(1000),
    	}
    	mockStatsProvider.EXPECT().ImageFsStats(gomock.Any()).Return(imageStats, imageStats, nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/tests/go122-annotations-stress.test

    EventBatch gen=1 m=1986496 time=2753925246280 size=267
    ProcStart dt=549 p=0 p_seq=1
    GoStart dt=211 g=18 g_seq=1
    GoBlock dt=3533 reason_string=12 stack=21
    GoStart dt=41 g=21 g_seq=1
    GoBlock dt=150 reason_string=10 stack=22
    GoStart dt=93 g=20 g_seq=1
    GoSyscallBegin dt=51 p_seq=2 stack=23
    GoSyscallEnd dt=400
    GoBlock dt=582 reason_string=15 stack=25
    GoStart dt=26 g=23 g_seq=1
    HeapAlloc dt=50 heapalloc_value=1646592
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  8. internal/dsync/dsync_test.go

    	}
    
    	dm := NewDRWMutex(ds, "aap")
    	dm.refreshInterval = testDrwMutexRefreshInterval
    
    	ctx, cancel := context.WithCancel(context.Background())
    
    	if !dm.GetLock(ctx, cancel, id, source, Options{Timeout: 5 * time.Minute}) {
    		t.Fatal("GetLock() should be successful")
    	}
    
    	// Make it run twice.
    	timer := time.NewTimer(testDrwMutexRefreshInterval * 2)
    
    	select {
    	case <-ctx.Done():
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 11K bytes
    - Viewed (0)
  9. internal/s3select/sql/value_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			v := Value{
    				value: tt.fields.value,
    			}
    			gotVal, gotOk := v.bytesToBool()
    			if gotVal != tt.wantVal {
    				t.Errorf("bytesToBool() gotVal = %v, want %v", gotVal, tt.wantVal)
    			}
    			if gotOk != tt.wantOk {
    				t.Errorf("bytesToBool() gotOk = %v, want %v", gotOk, tt.wantOk)
    			}
    		})
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  10. 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)
Back to top