mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Missing vendors
This commit is contained in:
38
vendor/github.com/circonus-labs/circonus-gometrics/CHANGELOG.md
generated
vendored
Normal file
38
vendor/github.com/circonus-labs/circonus-gometrics/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# v2.2.1
|
||||
|
||||
* fix: if submission url host is 'api.circonus.com' do not use private CA in TLSConfig
|
||||
|
||||
# v2.2.0
|
||||
|
||||
* fix: do not reset counter|gauge|text funcs after each snapshot (only on explicit call to Reset)
|
||||
* upd: dashboards - optional widget attributes - which are structs - should be pointers for correct omission in json sent to api
|
||||
* fix: dashboards - remove `omitempty` from required attributes
|
||||
* fix: graphs - remove `omitempty` from required attributes
|
||||
* fix: worksheets - correct attribute name, remove `omitempty` from required attributes
|
||||
* fix: handle case where a broker has no external host or ip set
|
||||
|
||||
# v2.1.2
|
||||
|
||||
* upd: breaking change in upstream repo
|
||||
* upd: upstream deps
|
||||
|
||||
# v2.1.1
|
||||
|
||||
* dep dependencies
|
||||
* fix two instances of shadowed variables
|
||||
* fix several documentation typos
|
||||
* simplify (gofmt -s)
|
||||
* remove an inefficient use of regexp.MatchString
|
||||
|
||||
# v2.1.0
|
||||
|
||||
* Add unix socket capability for SubmissionURL `http+unix://...`
|
||||
* Add `RecordCountForValue` function to histograms
|
||||
|
||||
# v2.0.0
|
||||
|
||||
* gauges as `interface{}`
|
||||
* change: `GeTestGauge(string) (string,error)` -> `GeTestGauge(string) (interface{},error)`
|
||||
* add: `AddGauge(string, interface{})` to add a delta value to an existing gauge
|
||||
* prom output candidate
|
||||
* Add `CHANGELOG.md` to repository
|
||||
39
vendor/github.com/circonus-labs/circonus-gometrics/Gopkg.lock
generated
vendored
Normal file
39
vendor/github.com/circonus-labs/circonus-gometrics/Gopkg.lock
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
||||
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/circonus-labs/circonusllhist"
|
||||
packages = ["."]
|
||||
revision = "5eb751da55c6d3091faf3861ec5062ae91fee9d0"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/hashicorp/go-cleanhttp"
|
||||
packages = ["."]
|
||||
revision = "d5fe4b57a186c716b0e00b8c301cbd9b4182694d"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/hashicorp/go-retryablehttp"
|
||||
packages = ["."]
|
||||
revision = "e651d75abec6fbd4f2c09508f72ae7af8a8b7171"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/pkg/errors"
|
||||
packages = ["."]
|
||||
revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
|
||||
version = "v0.8.0"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/tv42/httpunix"
|
||||
packages = ["."]
|
||||
revision = "b75d8614f926c077e48d85f1f8f7885b758c6225"
|
||||
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
inputs-digest = "6db34ba31cd011426f28b5db0dbe259c4dc3787fb2074b2c06cb382385a90242"
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
||||
37
vendor/github.com/circonus-labs/circonus-gometrics/Gopkg.toml
generated
vendored
Normal file
37
vendor/github.com/circonus-labs/circonus-gometrics/Gopkg.toml
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# Gopkg.toml example
|
||||
#
|
||||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
|
||||
# for detailed Gopkg.toml documentation.
|
||||
#
|
||||
# required = ["github.com/user/thing/cmd/thing"]
|
||||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
|
||||
#
|
||||
# [[constraint]]
|
||||
# name = "github.com/user/project"
|
||||
# version = "1.0.0"
|
||||
#
|
||||
# [[constraint]]
|
||||
# name = "github.com/user/project2"
|
||||
# branch = "dev"
|
||||
# source = "github.com/myfork/project2"
|
||||
#
|
||||
# [[override]]
|
||||
# name = "github.com/x/y"
|
||||
# version = "2.4.0"
|
||||
|
||||
|
||||
[[constraint]]
|
||||
branch = "master"
|
||||
name = "github.com/circonus-labs/circonusllhist"
|
||||
|
||||
[[constraint]]
|
||||
branch = "master"
|
||||
name = "github.com/hashicorp/go-retryablehttp"
|
||||
|
||||
[[constraint]]
|
||||
name = "github.com/pkg/errors"
|
||||
version = "0.8.0"
|
||||
|
||||
[[constraint]]
|
||||
branch = "master"
|
||||
name = "github.com/tv42/httpunix"
|
||||
36
vendor/github.com/hashicorp/vault/helper/hclutil/hcl.go
generated
vendored
Normal file
36
vendor/github.com/hashicorp/vault/helper/hclutil/hcl.go
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
package hclutil
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
multierror "github.com/hashicorp/go-multierror"
|
||||
"github.com/hashicorp/hcl/hcl/ast"
|
||||
)
|
||||
|
||||
// CheckHCLKeys checks whether the keys in the AST list contains any of the valid keys provided.
|
||||
func CheckHCLKeys(node ast.Node, valid []string) error {
|
||||
var list *ast.ObjectList
|
||||
switch n := node.(type) {
|
||||
case *ast.ObjectList:
|
||||
list = n
|
||||
case *ast.ObjectType:
|
||||
list = n.List
|
||||
default:
|
||||
return fmt.Errorf("cannot check HCL keys of type %T", n)
|
||||
}
|
||||
|
||||
validMap := make(map[string]struct{}, len(valid))
|
||||
for _, v := range valid {
|
||||
validMap[v] = struct{}{}
|
||||
}
|
||||
|
||||
var result error
|
||||
for _, item := range list.Items {
|
||||
key := item.Keys[0].Token.Value().(string)
|
||||
if _, ok := validMap[key]; !ok {
|
||||
result = multierror.Append(result, fmt.Errorf("invalid key %q on line %d", key, item.Assign.Line))
|
||||
}
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
19
vendor/github.com/tv42/httpunix/LICENSE
generated
vendored
Normal file
19
vendor/github.com/tv42/httpunix/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Copyright (c) 2013-2015 Tommi Virtanen.
|
||||
|
||||
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.
|
||||
95
vendor/github.com/tv42/httpunix/httpunix.go
generated
vendored
Normal file
95
vendor/github.com/tv42/httpunix/httpunix.go
generated
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
// Package httpunix provides a HTTP transport (net/http.RoundTripper)
|
||||
// that uses Unix domain sockets instead of HTTP.
|
||||
//
|
||||
// This is useful for non-browser connections within the same host, as
|
||||
// it allows using the file system for credentials of both client
|
||||
// and server, and guaranteeing unique names.
|
||||
//
|
||||
// The URLs look like this:
|
||||
//
|
||||
// http+unix://LOCATION/PATH_ETC
|
||||
//
|
||||
// where LOCATION is translated to a file system path with
|
||||
// Transport.RegisterLocation, and PATH_ETC follow normal http: scheme
|
||||
// conventions.
|
||||
package httpunix
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
"errors"
|
||||
"net"
|
||||
"net/http"
|
||||
"sync"
|
||||
"time"
|
||||
)
|
||||
|
||||
// Scheme is the URL scheme used for HTTP over UNIX domain sockets.
|
||||
const Scheme = "http+unix"
|
||||
|
||||
// Transport is a http.RoundTripper that connects to Unix domain
|
||||
// sockets.
|
||||
type Transport struct {
|
||||
DialTimeout time.Duration
|
||||
RequestTimeout time.Duration
|
||||
ResponseHeaderTimeout time.Duration
|
||||
|
||||
mu sync.Mutex
|
||||
// map a URL "hostname" to a UNIX domain socket path
|
||||
loc map[string]string
|
||||
}
|
||||
|
||||
// RegisterLocation registers an URL location and maps it to the given
|
||||
// file system path.
|
||||
//
|
||||
// Calling RegisterLocation twice for the same location is a
|
||||
// programmer error, and causes a panic.
|
||||
func (t *Transport) RegisterLocation(loc string, path string) {
|
||||
t.mu.Lock()
|
||||
defer t.mu.Unlock()
|
||||
if t.loc == nil {
|
||||
t.loc = make(map[string]string)
|
||||
}
|
||||
if _, exists := t.loc[loc]; exists {
|
||||
panic("location " + loc + " already registered")
|
||||
}
|
||||
t.loc[loc] = path
|
||||
}
|
||||
|
||||
var _ http.RoundTripper = (*Transport)(nil)
|
||||
|
||||
// RoundTrip executes a single HTTP transaction. See
|
||||
// net/http.RoundTripper.
|
||||
func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||
if req.URL == nil {
|
||||
return nil, errors.New("http+unix: nil Request.URL")
|
||||
}
|
||||
if req.URL.Scheme != Scheme {
|
||||
return nil, errors.New("unsupported protocol scheme: " + req.URL.Scheme)
|
||||
}
|
||||
if req.URL.Host == "" {
|
||||
return nil, errors.New("http+unix: no Host in request URL")
|
||||
}
|
||||
t.mu.Lock()
|
||||
path, ok := t.loc[req.URL.Host]
|
||||
t.mu.Unlock()
|
||||
if !ok {
|
||||
return nil, errors.New("unknown location: " + req.Host)
|
||||
}
|
||||
|
||||
c, err := net.DialTimeout("unix", path, t.DialTimeout)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
r := bufio.NewReader(c)
|
||||
if t.RequestTimeout > 0 {
|
||||
c.SetWriteDeadline(time.Now().Add(t.RequestTimeout))
|
||||
}
|
||||
if err := req.Write(c); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if t.ResponseHeaderTimeout > 0 {
|
||||
c.SetReadDeadline(time.Now().Add(t.ResponseHeaderTimeout))
|
||||
}
|
||||
resp, err := http.ReadResponse(r, req)
|
||||
return resp, err
|
||||
}
|
||||
1
vendor/vendor.json
vendored
1
vendor/vendor.json
vendored
@@ -198,6 +198,7 @@
|
||||
{"path":"github.com/hashicorp/vault","checksumSHA1":"eGzvBRMFD6ZB3A6uO750np7Om/E=","revision":"182ba68a9589d4cef95234134aaa498a686e3de3","revisionTime":"2016-08-21T23:40:57Z"},
|
||||
{"path":"github.com/hashicorp/vault/api","checksumSHA1":"+B4wuJNerIUKNAVzld7CmMaNW5A=","revision":"8575f8fedcf8f5a6eb2b4701cb527b99574b5286","revisionTime":"2018-09-06T17:45:45Z"},
|
||||
{"path":"github.com/hashicorp/vault/helper/compressutil","checksumSHA1":"bSdPFOHaTwEvM4PIvn0PZfn75jM=","revision":"8575f8fedcf8f5a6eb2b4701cb527b99574b5286","revisionTime":"2018-09-06T17:45:45Z"},
|
||||
{"path":"github.com/hashicorp/vault/helper/hclutil","checksumSHA1":"RlqPBLOexQ0jj6jomhiompWKaUg=","revision":"8575f8fedcf8f5a6eb2b4701cb527b99574b5286","revisionTime":"2018-09-06T17:45:45Z"},
|
||||
{"path":"github.com/hashicorp/vault/helper/jsonutil","checksumSHA1":"POgkM3GrjRFw6H3sw95YNEs552A=","revision":"8575f8fedcf8f5a6eb2b4701cb527b99574b5286","revisionTime":"2018-09-06T17:45:45Z"},
|
||||
{"path":"github.com/hashicorp/vault/helper/parseutil","checksumSHA1":"HA2MV/2XI0HcoThSRxQCaBZR2ps=","revision":"8575f8fedcf8f5a6eb2b4701cb527b99574b5286","revisionTime":"2018-09-06T17:45:45Z"},
|
||||
{"path":"github.com/hashicorp/vault/helper/strutil","checksumSHA1":"HdVuYhZ5TuxeIFqi0jy2GHW7a4o=","revision":"8575f8fedcf8f5a6eb2b4701cb527b99574b5286","revisionTime":"2018-09-06T17:45:45Z"},
|
||||
|
||||
Reference in New Issue
Block a user