vendor: revendor using glide-vc
This commit is contained in:
glide.lock
vendor
github.com
cockroachdb
cockroach-go
coreos
go-oidc
example
http
jose
claims.goclaims_test.godoc.gojose.gojwk.gojwk_test.gojws.gojws_test.gojwt.gojwt_test.gosig.gosig_rsa.go
key
oauth2
oidc
golang
protobuf
.gitignoreAUTHORSCONTRIBUTORSMake.protobufMakefileREADME.md
jsonpb
proto
protoc-gen-go
ptypes
gtank
kylelemons
godebug
lib
pq
mattn
go-sqlite3
_example
custom_func
hook
mod_regexp
mod_vtable
simple
trace
sqlite3_test
tool
pquerna
cachecontrol
examples
spf13
golang.org
x
crypto
.gitattributes.gitignoreAUTHORSCONTRIBUTING.mdCONTRIBUTORSREADME
acme
internal
bn256
cast5
codereview.cfgcurve25519
const_amd64.scswap_amd64.scurve25519.gocurve25519_test.godoc.gofreeze_amd64.sladderstep_amd64.smont25519_amd64.gomul_amd64.ssquare_amd64.s
ed25519
hkdf
md4
nacl
ocsp
openpgp
armor
canonical_text.gocanonical_text_test.goclearsign
elgamal
errors
keys.gokeys_test.gopacket
compressed.gocompressed_test.goconfig.goencrypted_key.goencrypted_key_test.goliteral.goocfb.goocfb_test.goone_pass_signature.goopaque.goopaque_test.gopacket.gopacket_test.goprivate_key.goprivate_key_test.gopublic_key.gopublic_key_test.gopublic_key_v3.gopublic_key_v3_test.goreader.gosignature.gosignature_test.gosignature_v3.gosignature_v3_test.gosymmetric_key_encrypted.gosymmetric_key_encrypted_test.gosymmetrically_encrypted.gosymmetrically_encrypted_test.gouserattribute.gouserattribute_test.gouserid.gouserid_test.go
read.goread_test.gos2k
write.gowrite_test.gootr
pbkdf2
pkcs12
bmp-string.gobmp-string_test.gocrypto.gocrypto_test.goerrors.go
internal
mac.gomac_test.gopbkdf.gopbkdf_test.gopkcs12.gopkcs12_test.gosafebags.gopoly1305
const_amd64.spoly1305.gopoly1305_amd64.spoly1305_arm.spoly1305_test.gosum_amd64.gosum_arm.gosum_ref.go
ripemd160
salsa20
scrypt
sha3
doc.gohashes.gokeccakf.goregister.gosha3.gosha3_test.goshake.go
testdata
xor.goxor_generic.goxor_unaligned.gossh
agent
client.goclient_test.goexample_test.goforward.gokeyring.gokeyring_test.goserver.goserver_test.gotestdata_test.go
benchmark_test.gobuffer.gobuffer_test.gocerts.gocerts_test.gochannel.gocipher.gocipher_test.goclient.goclient_auth.goclient_auth_test.goclient_test.gocommon.goconnection.godoc.goexample_test.gohandshake.gohandshake_test.gokex.gokex_test.gokeys.gokeys_test.gomac.gomempipe_test.gomessages.gomessages_test.gomux.gomux_test.goserver.gosession.gosession_test.gotcpip.gotcpip_test.goterminal
test
agent_unix_test.gocert_test.godoc.goforward_unix_test.gosession_test.gotcpip_test.gotest_unix_test.gotestdata_test.go
testdata
testdata_test.gotransport.gotransport_test.gotea
twofish
xtea
xts
net
.gitattributes.gitignoreAUTHORSCONTRIBUTING.mdCONTRIBUTORSREADME
bpf
asm.goconstants.godoc.goinstructions.goinstructions_test.go
codereview.cfgtestdata
vm.govm_aluop_test.govm_bpf_test.govm_extension_test.govm_instructions.govm_jump_test.govm_load_test.govm_ret_test.govm_scratch_test.govm_test.godict
html
atom
charset
const.godoc.godoctype.goentity.goentity_test.goescape.goescape_test.goexample_test.goforeign.gonode.gonode_test.goparse.goparse_test.gorender.gorender_test.gotestdata
go1.html
token.gotoken_test.gowebkit
READMEadoption01.datadoption02.datcomments01.datdoctype01.datentities01.datentities02.dathtml5test-com.datinbody01.datisindex.datpending-spec-changes-plain-text-unsafe.datpending-spec-changes.datplain-text-unsafe.datscriptdata01.dat
scripted
tables01.dattests1.dattests10.dattests11.dattests12.dattests14.dattests15.dattests16.dattests17.dattests18.dattests19.dattests2.dattests20.dattests21.dattests22.dattests23.dattests24.dattests25.dattests26.dattests3.dattests4.dattests5.dattests6.dattests7.dattests8.dattests9.dattests_innerHTML_1.dattricky01.datwebkit01.datwebkit02.dathttp2
h2demo
h2i
testdata
icmp
dstunreach.goecho.goendpoint.goexample_test.goextension.goextension_test.gohelper.gohelper_posix.gointerface.goipv4.goipv4_test.goipv6.golisten_posix.golisten_stub.gomessage.gomessage_test.gomessagebody.gompls.gomultipart.gomultipart_test.gopackettoobig.goparamprob.goping_test.gosys_freebsd.gotimeexceeded.go
idna
internal
iana
nettest
ipv4
bpf_test.gobpfopt_linux.gobpfopt_stub.gocontrol.gocontrol_bsd.gocontrol_pktinfo.gocontrol_stub.gocontrol_unix.gocontrol_windows.godefs_darwin.godefs_dragonfly.godefs_freebsd.godefs_linux.godefs_netbsd.godefs_openbsd.godefs_solaris.godgramopt_posix.godgramopt_stub.godoc.goendpoint.goexample_test.gogen.gogenericopt_posix.gogenericopt_stub.goheader.goheader_test.gohelper.gohelper_stub.gohelper_unix.gohelper_windows.goiana.goicmp.goicmp_linux.goicmp_stub.goicmp_test.gomocktransponder_test.gomulticast_test.gomulticastlistener_test.gomulticastsockopt_test.gopacket.gopayload.gopayload_cmsg.gopayload_nocmsg.goreadwrite_test.gosockopt.gosockopt_asmreq.gosockopt_asmreq_stub.gosockopt_asmreq_unix.gosockopt_asmreq_windows.gosockopt_asmreqn_stub.gosockopt_asmreqn_unix.gosockopt_ssmreq_stub.gosockopt_ssmreq_unix.gosockopt_stub.gosockopt_unix.gosockopt_windows.gosys_bsd.gosys_darwin.gosys_freebsd.gosys_linux.gosys_openbsd.gosys_stub.gosys_windows.gosyscall_linux_386.gosyscall_unix.gothunk_linux_386.sunicast_test.gounicastsockopt_test.gozsys_darwin.gozsys_dragonfly.gozsys_freebsd_386.gozsys_freebsd_amd64.gozsys_freebsd_arm.gozsys_linux_386.gozsys_linux_amd64.gozsys_linux_arm.gozsys_linux_arm64.gozsys_linux_mips64.gozsys_linux_mips64le.gozsys_linux_ppc.gozsys_linux_ppc64.gozsys_linux_ppc64le.gozsys_linux_s390x.gozsys_netbsd.gozsys_openbsd.gozsys_solaris.go
ipv6
bpf_test.gobpfopt_linux.gobpfopt_stub.gocontrol.gocontrol_rfc2292_unix.gocontrol_rfc3542_unix.gocontrol_stub.gocontrol_unix.gocontrol_windows.godefs_darwin.godefs_dragonfly.godefs_freebsd.godefs_linux.godefs_netbsd.godefs_openbsd.godefs_solaris.godgramopt_posix.godgramopt_stub.godoc.goendpoint.goexample_test.gogen.gogenericopt_posix.gogenericopt_stub.goheader.goheader_test.gohelper.gohelper_stub.gohelper_unix.gohelper_windows.goiana.goicmp.goicmp_bsd.goicmp_linux.goicmp_solaris.goicmp_stub.goicmp_test.goicmp_windows.gomocktransponder_test.gomulticast_test.gomulticastlistener_test.gomulticastsockopt_test.gopayload.gopayload_cmsg.gopayload_nocmsg.goreadwrite_test.gosockopt.gosockopt_asmreq_unix.gosockopt_asmreq_windows.gosockopt_ssmreq_stub.gosockopt_ssmreq_unix.gosockopt_stub.gosockopt_test.gosockopt_unix.gosockopt_windows.gosys_bsd.gosys_darwin.gosys_freebsd.gosys_linux.gosys_stub.gosys_windows.gosyscall_linux_386.gosyscall_unix.gothunk_linux_386.sunicast_test.gounicastsockopt_test.gozsys_darwin.gozsys_dragonfly.gozsys_freebsd_386.gozsys_freebsd_amd64.gozsys_freebsd_arm.gozsys_linux_386.gozsys_linux_amd64.gozsys_linux_arm.gozsys_linux_arm64.gozsys_linux_mips64.gozsys_linux_mips64le.gozsys_linux_ppc.gozsys_linux_ppc64.gozsys_linux_ppc64le.gozsys_linux_s390x.gozsys_netbsd.gozsys_openbsd.gozsys_solaris.go
netutil
proxy
publicsuffix
route
address.goaddress_darwin_test.goaddress_test.gobinary.godefs_darwin.godefs_dragonfly.godefs_freebsd.godefs_netbsd.godefs_openbsd.gointerface.gointerface_announce.gointerface_classic.gointerface_freebsd.gointerface_multicast.gointerface_openbsd.gomessage.gomessage_darwin_test.gomessage_freebsd_test.gomessage_test.goroute.goroute_classic.goroute_openbsd.goroute_test.gosys.gosys_darwin.gosys_dragonfly.gosys_freebsd.gosys_netbsd.gosys_openbsd.gosyscall.gosyscall.szsys_darwin.gozsys_dragonfly.gozsys_freebsd_386.gozsys_freebsd_amd64.gozsys_freebsd_arm.gozsys_netbsd.gozsys_openbsd.go
webdav
file.gofile_test.goif.goif_test.golitmus_test_server.golock.golock_test.goprop.goprop_test.gowebdav.gowebdav_test.goxml.goxml_test.go
internal
xml
websocket
client.goexampledial_test.goexamplehandler_test.gohybi.gohybi_test.goserver.gowebsocket.gowebsocket_test.go
xsrftoken
oauth2
bitbucket
clientcredentials
facebook
fitbit
google
appengine.goappengine_hook.goappenginevm_hook.godefault.goexample_test.gogoogle.gogoogle_test.gojwt.gojwt_test.gosdk.gosdk_test.go
testdata
gcloud
hipchat
jws
jwt
linkedin
microsoft
odnoklassniki
paypal
slack
vk
google.golang.org
appengine
.travis.ymlREADME.mderrors.go
aetest
appengine.goappengine_test.goappengine_vm.goblobstore
capability
channel
cloudsql
cmd
datastore
datastore.godatastore_test.godoc.gokey.gokey_test.goload.gometadata.goprop.goprop_test.goquery.goquery_test.gosave.gotime_test.gotransaction.go
delay
demos
guestbook
helloworld
file
identity.goimage
internal
aetesting
app_identity
blobstore
capability
channel
image
mail
memcache
modules
search
socket
system
taskqueue
user
xmpp
log
mail
memcache
module
namespace.gonamespace_test.goremote_api
runtime
search
socket
taskqueue
timeout.gouser
xmpp
grpc
Documentation
benchmark
benchmark.gobenchmark_test.go
client
grpc_testing
control.pb.gocontrol.protomessages.pb.gomessages.protopayloads.pb.gopayloads.protoservices.pb.goservices.protostats.pb.gostats.proto
server
stats
worker
credentials
oauth
examples
grpclb
grpclog
glogger
health
interop
reflection
stress
test
testdata
transport
testdata
gopkg.in
asn1-ber.v1
tests
tc1.bertc10.bertc11.bertc12.bertc13.bertc14.bertc15.bertc16.bertc17.bertc18.bertc19.bertc2.bertc20.bertc21.bertc22.bertc23.bertc24.bertc25.bertc26.bertc27.bertc28.bertc29.bertc3.bertc30.bertc31.bertc32.bertc33.bertc34.bertc35.bertc36.bertc37.bertc38.bertc39.bertc4.bertc40.bertc41.bertc42.bertc43.bertc44.bertc45.bertc46.bertc47.bertc48.bertc5.bertc6.bertc7.bertc8.bertc9.ber
square
98
vendor/github.com/golang/protobuf/protoc-gen-go/main.go
generated
vendored
98
vendor/github.com/golang/protobuf/protoc-gen-go/main.go
generated
vendored
@@ -1,98 +0,0 @@
|
||||
// Go support for Protocol Buffers - Google's data interchange format
|
||||
//
|
||||
// Copyright 2010 The Go Authors. All rights reserved.
|
||||
// https://github.com/golang/protobuf
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are
|
||||
// met:
|
||||
//
|
||||
// * Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// * Redistributions in binary form must reproduce the above
|
||||
// copyright notice, this list of conditions and the following disclaimer
|
||||
// in the documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
// * Neither the name of Google Inc. nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from
|
||||
// this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// protoc-gen-go is a plugin for the Google protocol buffer compiler to generate
|
||||
// Go code. Run it by building this program and putting it in your path with
|
||||
// the name
|
||||
// protoc-gen-go
|
||||
// That word 'go' at the end becomes part of the option string set for the
|
||||
// protocol compiler, so once the protocol compiler (protoc) is installed
|
||||
// you can run
|
||||
// protoc --go_out=output_directory input_directory/file.proto
|
||||
// to generate Go bindings for the protocol defined by file.proto.
|
||||
// With that input, the output will be written to
|
||||
// output_directory/file.pb.go
|
||||
//
|
||||
// The generated code is documented in the package comment for
|
||||
// the library.
|
||||
//
|
||||
// See the README and documentation for protocol buffers to learn more:
|
||||
// https://developers.google.com/protocol-buffers/
|
||||
package main
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"os"
|
||||
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/golang/protobuf/protoc-gen-go/generator"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// Begin by allocating a generator. The request and response structures are stored there
|
||||
// so we can do error handling easily - the response structure contains the field to
|
||||
// report failure.
|
||||
g := generator.New()
|
||||
|
||||
data, err := ioutil.ReadAll(os.Stdin)
|
||||
if err != nil {
|
||||
g.Error(err, "reading input")
|
||||
}
|
||||
|
||||
if err := proto.Unmarshal(data, g.Request); err != nil {
|
||||
g.Error(err, "parsing input proto")
|
||||
}
|
||||
|
||||
if len(g.Request.FileToGenerate) == 0 {
|
||||
g.Fail("no files to generate")
|
||||
}
|
||||
|
||||
g.CommandLineParameters(g.Request.GetParameter())
|
||||
|
||||
// Create a wrapped version of the Descriptors and EnumDescriptors that
|
||||
// point to the file that defines them.
|
||||
g.WrapTypes()
|
||||
|
||||
g.SetPackageNames()
|
||||
g.BuildTypeNameMap()
|
||||
|
||||
g.GenerateAllFiles()
|
||||
|
||||
// Send back the results.
|
||||
data, err = proto.Marshal(g.Response)
|
||||
if err != nil {
|
||||
g.Error(err, "failed to marshal output proto")
|
||||
}
|
||||
_, err = os.Stdout.Write(data)
|
||||
if err != nil {
|
||||
g.Error(err, "failed to write output proto")
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user