From fde18e485ff7cbc7b2e33dade8e81136f06a5b60 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 8 Aug 2019 00:19:33 +0200 Subject: [pkg] remove vendor --- vendor/github.com/mitchellh/go-ps/LICENSE.md | 21 -- vendor/github.com/mitchellh/go-ps/README.md | 34 --- vendor/github.com/mitchellh/go-ps/Vagrantfile | 43 ---- vendor/github.com/mitchellh/go-ps/process.go | 40 ---- .../github.com/mitchellh/go-ps/process_darwin.go | 138 ----------- .../mitchellh/go-ps/process_darwin_test.go | 11 - .../github.com/mitchellh/go-ps/process_freebsd.go | 260 --------------------- vendor/github.com/mitchellh/go-ps/process_linux.go | 35 --- .../github.com/mitchellh/go-ps/process_solaris.go | 96 -------- vendor/github.com/mitchellh/go-ps/process_test.go | 45 ---- vendor/github.com/mitchellh/go-ps/process_unix.go | 101 -------- .../mitchellh/go-ps/process_unix_test.go | 11 - .../github.com/mitchellh/go-ps/process_windows.go | 119 ---------- 13 files changed, 954 deletions(-) delete mode 100644 vendor/github.com/mitchellh/go-ps/LICENSE.md delete mode 100644 vendor/github.com/mitchellh/go-ps/README.md delete mode 100644 vendor/github.com/mitchellh/go-ps/Vagrantfile delete mode 100644 vendor/github.com/mitchellh/go-ps/process.go delete mode 100644 vendor/github.com/mitchellh/go-ps/process_darwin.go delete mode 100644 vendor/github.com/mitchellh/go-ps/process_darwin_test.go delete mode 100644 vendor/github.com/mitchellh/go-ps/process_freebsd.go delete mode 100644 vendor/github.com/mitchellh/go-ps/process_linux.go delete mode 100644 vendor/github.com/mitchellh/go-ps/process_solaris.go delete mode 100644 vendor/github.com/mitchellh/go-ps/process_test.go delete mode 100644 vendor/github.com/mitchellh/go-ps/process_unix.go delete mode 100644 vendor/github.com/mitchellh/go-ps/process_unix_test.go delete mode 100644 vendor/github.com/mitchellh/go-ps/process_windows.go (limited to 'vendor/github.com/mitchellh/go-ps') diff --git a/vendor/github.com/mitchellh/go-ps/LICENSE.md b/vendor/github.com/mitchellh/go-ps/LICENSE.md deleted file mode 100644 index 2298515..0000000 --- a/vendor/github.com/mitchellh/go-ps/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Mitchell Hashimoto - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/mitchellh/go-ps/README.md b/vendor/github.com/mitchellh/go-ps/README.md deleted file mode 100644 index 8e8baf9..0000000 --- a/vendor/github.com/mitchellh/go-ps/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# Process List Library for Go - -go-ps is a library for Go that implements OS-specific APIs to list and -manipulate processes in a platform-safe way. The library can find and -list processes on Linux, Mac OS X, Solaris, and Windows. - -If you're new to Go, this library has a good amount of advanced Go educational -value as well. It uses some advanced features of Go: build tags, accessing -DLL methods for Windows, cgo for Darwin, etc. - -How it works: - - * **Darwin** uses the `sysctl` syscall to retrieve the process table. - * **Unix** uses the procfs at `/proc` to inspect the process tree. - * **Windows** uses the Windows API, and methods such as - `CreateToolhelp32Snapshot` to get a point-in-time snapshot of - the process table. - -## Installation - -Install using standard `go get`: - -``` -$ go get github.com/mitchellh/go-ps -... -``` - -## TODO - -Want to contribute? Here is a short TODO list of things that aren't -implemented for this library that would be nice: - - * FreeBSD support - * Plan9 support diff --git a/vendor/github.com/mitchellh/go-ps/Vagrantfile b/vendor/github.com/mitchellh/go-ps/Vagrantfile deleted file mode 100644 index 61662ab..0000000 --- a/vendor/github.com/mitchellh/go-ps/Vagrantfile +++ /dev/null @@ -1,43 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! -VAGRANTFILE_API_VERSION = "2" - -Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = "chef/ubuntu-12.04" - - config.vm.provision "shell", inline: $script - - ["vmware_fusion", "vmware_workstation"].each do |p| - config.vm.provider "p" do |v| - v.vmx["memsize"] = "1024" - v.vmx["numvcpus"] = "2" - v.vmx["cpuid.coresPerSocket"] = "1" - end - end -end - -$script = <