- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 142 for recorder (0.24 sec)
-
src/net/http/httptest/recorder.go
import ( "bytes" "fmt" "io" "net/http" "net/textproto" "strconv" "strings" "golang.org/x/net/http/httpguts" ) // ResponseRecorder is an implementation of [http.ResponseWriter] that // records its mutations for later inspection in tests. type ResponseRecorder struct { // Code is the HTTP response code set by WriteHeader. // // Note that if a Handler never calls WriteHeader or Write,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 7K bytes - Viewed (0) -
internal/http/response-recorder.go
package http import ( "bufio" "bytes" "errors" "fmt" "io" "net" "net/http" "time" ) // ResponseRecorder - is a wrapper to trap the http response // status code and to record the response body type ResponseRecorder struct { http.ResponseWriter io.ReaderFrom StatusCode int // Log body of 4xx or 5xx responses LogErrBody bool // Log body of all responses LogAllBody bool
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 00:13:19 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/kubelet/container/testing/mock_runtime_cache.go
ctrl *gomock.Controller recorder *MockpodsGetterMockRecorder } // MockpodsGetterMockRecorder is the mock recorder for MockpodsGetter. type MockpodsGetterMockRecorder struct { mock *MockpodsGetter } // NewMockpodsGetter creates a new mock instance. func NewMockpodsGetter(ctrl *gomock.Controller) *MockpodsGetter { mock := &MockpodsGetter{ctrl: ctrl} mock.recorder = &MockpodsGetterMockRecorder{mock}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/MutationRuleApplicationOrderIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/MutationRuleExecutionOrderTest.groovy
@Model MutationRecorder recorder() { new MutationRecorder() } @Mutate void b(@Path("recorder") MutationRecorder recorder) { recorder.mutations << "b" } @Mutate void a(@Path("recorder") MutationRecorder recorder) { recorder.mutations << "a" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.5K bytes - Viewed (0) -
pkg/kubelet/server/stats/testing/mock_summary_provider.go
) // MockSummaryProvider is a mock of SummaryProvider interface. type MockSummaryProvider struct { ctrl *gomock.Controller recorder *MockSummaryProviderMockRecorder } // MockSummaryProviderMockRecorder is the mock recorder for MockSummaryProvider. type MockSummaryProviderMockRecorder struct { mock *MockSummaryProvider } // NewMockSummaryProvider creates a new mock instance.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/kubelet/container/testing/mockdirentry.go
type MockDirEntry struct { ctrl *gomock.Controller recorder *MockDirEntryMockRecorder } // MockDirEntryMockRecorder is the mock recorder for MockDirEntry. type MockDirEntryMockRecorder struct { mock *MockDirEntry } // NewMockDirEntry creates a new mock instance. func NewMockDirEntry(ctrl *gomock.Controller) *MockDirEntry { mock := &MockDirEntry{ctrl: ctrl} mock.recorder = &MockDirEntryMockRecorder{mock} return mock }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 3K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go
func NewRecordFlags() *RecordFlags { record := false return &RecordFlags{ Record: &record, } } // Recorder is used to record why a runtime.Object was changed in an annotation. type Recorder interface { // Record records why a runtime.Object was changed in an annotation. Record(runtime.Object) error MakeRecordMergePatch(runtime.Object) ([]byte, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/fake_kuberuntime_manager.go
ctx := context.Background() recorder := &record.FakeRecorder{} logManager, err := logs.NewContainerLogManager(runtimeService, osInterface, "1", 2, 10, metav1.Duration{Duration: 10 * time.Second}) if err != nil { return nil, err } kubeRuntimeManager := &kubeGenericRuntimeManager{ recorder: recorder, cpuCFSQuota: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/kubelet/cadvisor/testing/cadvisor_mock.go
ctrl *gomock.Controller recorder *MockInterfaceMockRecorder } // MockInterfaceMockRecorder is the mock recorder for MockInterface. type MockInterfaceMockRecorder struct { mock *MockInterface } // NewMockInterface creates a new mock instance. func NewMockInterface(ctrl *gomock.Controller) *MockInterface { mock := &MockInterface{ctrl: ctrl} mock.recorder = &MockInterfaceMockRecorder{mock} return mock }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 8.4K bytes - Viewed (0)