Add dockerless tags to all files in dockershim

As the final step, add the `dockerless` tags to all files in the
dockershim. Using `-tags=dockerless` in `go build`, we can compile
kubelet without the dockershim.

Once cadvisor no longer depends on `docker/docker`, compiling with
`-tags=dockerless` should be sufficient to compile the Kubelet w/o a
dependency on `docker/docker`.
This commit is contained in:
mattjmcnaughton 2020-02-02 16:53:42 -05:00
parent 7fb6c51822
commit b36f637f0d
No known key found for this signature in database
GPG Key ID: BC530981A9A1CC9D
80 changed files with 138 additions and 22 deletions

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux,!dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build !linux,!windows
// +build !linux,!windows,!dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build windows
// +build windows,!dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build !windows
// +build !windows,!dockerless
/*
Copyright 2019 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build windows
// +build windows,!dockerless
/*
Copyright 2019 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2019 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux,!dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build !linux,!windows
// +build !linux,!windows,!dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build windows
// +build windows,!dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2018 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2019 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux,!dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2019 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build !linux,!windows
// +build !linux,!windows,!dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build windows
// +build windows,!dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build !windows
// +build !windows,!dockerless
/*
Copyright 2019 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build windows
// +build windows,!dockerless
/*
Copyright 2019 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2015 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux,!dockerless
/*
Copyright 2015 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux,!dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build !linux,!windows
// +build !linux,!windows,!dockerless
/*
Copyright 2015 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build windows
// +build windows,!dockerless
/*
Copyright 2015 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2015 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2015 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build !windows
// +build !windows,!dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux,!dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build windows
// +build windows,!dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2015 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2015 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux,!dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2015 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build !linux
// +build !linux,!dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2014 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.

View File

@ -1,3 +1,5 @@
// +build !dockerless
/*
Copyright 2017 The Kubernetes Authors.