File: doc.go

package info (click to toggle)
gitlab-agent 16.1.3-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 6,324 kB
  • sloc: makefile: 175; sh: 52; ruby: 3
file content (16 lines) | stat: -rw-r--r-- 577 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Package mock_stdlib contains Go standard library mocks
package mock_stdlib

import "net/http"

//go:generate mockgen.sh -destination "net_http_custom.go" -package "mock_stdlib" "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/tool/testing/mock_stdlib" "ResponseWriterFlusher"

//go:generate mockgen.sh -destination "net.go" -package "mock_stdlib" "net" "Conn"

//go:generate mockgen.sh -destination "net_http.go" -package "mock_stdlib" "net/http" "RoundTripper"

type ResponseWriterFlusher interface {
	http.ResponseWriter
	http.Flusher
	http.Hijacker
}