summaryrefslogtreecommitdiff
path: root/pkg/api/types/types.go
blob: d5067cc540851ed3ab47b86192f3d18715a43acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package types

const (
	// DefaultAPIVersion is the version of the compatible API the server defaults to
	DefaultAPIVersion = "1.40" // See https://docs.docker.com/engine/api/v1.40/

	// MinimalAPIVersion is the minimal required version of the compatible API
	MinimalAPIVersion = "1.24"
)

type APIContextKey int

const (
	DecoderKey APIContextKey = iota
	RuntimeKey
	IdleTrackerKey
	ConnKey
)