Go mod vendor

Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
Shengjing Zhu
2020-11-22 01:32:09 +08:00
parent fc946ca82a
commit 7e46676e7c
546 changed files with 36459 additions and 14130 deletions

25
vendor/github.com/containerd/btrfs/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,25 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
bin/
# Folders
_obj
_test
# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
_testmain.go
*.exe
*.test
*.prof

24
vendor/github.com/containerd/btrfs/.travis.yml generated vendored Normal file
View File

@@ -0,0 +1,24 @@
dist: bionic
language: go
go:
- "1.13.x"
- "1.15.x"
before_install:
- sudo apt-get update
- sudo apt-get install -y btrfs-tools linux-headers-generic
- dpkg -L btrfs-tools
- ls /usr/include/btrfs
install:
- GO111MODULE="on" go mod vendor
- go get -u github.com/vbatts/git-validation
- go get -u github.com/kunalkushwaha/ltag
before_script:
- pushd ..; git clone https://github.com/containerd/project; popd
script:
- DCO_VERBOSITY=-q ../project/script/validate/dco
- ../project/script/validate/fileheader ../project/

34
vendor/github.com/containerd/btrfs/Makefile generated vendored Normal file
View File

@@ -0,0 +1,34 @@
# Copyright The containerd Authors.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
.PHONY: clean binaries generate lint vet test
all: vet lint test binaries
binaries: bin/btrfs-test
vet:
go vet ./...
lint:
golint ./...
test:
go test -v ./...
bin/%: ./cmd/% *.go
go build -o ./$@ ./$<
clean:
rm -rf bin/*

2
vendor/github.com/containerd/btrfs/go.sum generated vendored Normal file
View File

@@ -0,0 +1,2 @@
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=