Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-workhorse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-workhorse
Commits
14f35583
Commit
14f35583
authored
Feb 28, 2017
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gitaly-proto 0.3.0 (new import path)
No changes besides the import path
parent
261e6951
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1362 additions
and
1453 deletions
+1362
-1453
internal/gitaly/gitaly.go
internal/gitaly/gitaly.go
+1
-1
internal/gitaly/smarthttp.go
internal/gitaly/smarthttp.go
+2
-2
internal/testhelper/gitaly.go
internal/testhelper/gitaly.go
+1
-1
main_test.go
main_test.go
+1
-1
vendor/gitlab.com/gitlab-org/gitaly-proto/LICENSE
vendor/gitlab.com/gitlab-org/gitaly-proto/LICENSE
+0
-0
vendor/gitlab.com/gitlab-org/gitaly-proto/go/README.md
vendor/gitlab.com/gitlab-org/gitaly-proto/go/README.md
+0
-0
vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
+1
-0
vendor/gitlab.com/gitlab-org/gitaly-proto/go/gitaly.pb.go
vendor/gitlab.com/gitlab-org/gitaly-proto/go/gitaly.pb.go
+898
-0
vendor/gitlab.com/gitlab-org/gitaly-proto/go/helper/inforefs.go
.../gitlab.com/gitlab-org/gitaly-proto/go/helper/inforefs.go
+1
-1
vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go
vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go
+64
-0
vendor/gitlab.com/gitlab-org/gitaly-proto/go/smarthttp.pb.go
vendor/gitlab.com/gitlab-org/gitaly-proto/go/smarthttp.pb.go
+23
-57
vendor/gitlab.com/gitlab-org/gitaly-proto/go/ssh.pb.go
vendor/gitlab.com/gitlab-org/gitaly-proto/go/ssh.pb.go
+356
-0
vendor/gitlab.com/gitlab-org/gitaly/NOTICE
vendor/gitlab.com/gitlab-org/gitaly/NOTICE
+0
-1380
vendor/vendor.json
vendor/vendor.json
+14
-10
No files found.
internal/gitaly/gitaly.go
View file @
14f35583
...
...
@@ -5,7 +5,7 @@ import (
"sync"
"time"
pb
"gitlab.com/gitlab-org/gitaly
/protos
/go"
pb
"gitlab.com/gitlab-org/gitaly
-proto
/go"
"google.golang.org/grpc"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/badgateway"
...
...
internal/gitaly/smarthttp.go
View file @
14f35583
...
...
@@ -4,8 +4,8 @@ import (
"fmt"
"io"
pb
"gitlab.com/gitlab-org/gitaly
/protos
/go"
pbhelper
"gitlab.com/gitlab-org/gitaly
/protos
/go/helper"
pb
"gitlab.com/gitlab-org/gitaly
-proto
/go"
pbhelper
"gitlab.com/gitlab-org/gitaly
-proto
/go/helper"
"golang.org/x/net/context"
)
...
...
internal/testhelper/gitaly.go
View file @
14f35583
package
testhelper
import
(
pb
"gitlab.com/gitlab-org/gitaly
/protos
/go"
pb
"gitlab.com/gitlab-org/gitaly
-proto
/go"
)
type
GitalyTestServer
struct
{}
...
...
main_test.go
View file @
14f35583
...
...
@@ -26,7 +26,7 @@ import (
"gitlab.com/gitlab-org/gitlab-workhorse/internal/testhelper"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/upstream"
pb
"gitlab.com/gitlab-org/gitaly
/protos
/go"
pb
"gitlab.com/gitlab-org/gitaly
-proto
/go"
"google.golang.org/grpc"
)
...
...
vendor/gitlab.com/gitlab-org/gitaly/LICENSE
→
vendor/gitlab.com/gitlab-org/gitaly
-proto
/LICENSE
View file @
14f35583
File moved
vendor/gitlab.com/gitlab-org/gitaly
/protos
/go/README.md
→
vendor/gitlab.com/gitlab-org/gitaly
-proto
/go/README.md
View file @
14f35583
File moved
vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
0 → 100644
View file @
14f35583
0.3.0
vendor/gitlab.com/gitlab-org/gitaly-proto/go/gitaly.pb.go
0 → 100644
View file @
14f35583
// Code generated by protoc-gen-go.
// source: gitaly.proto
// DO NOT EDIT!
/*
Package gitaly is a generated protocol buffer package.
It is generated from these files:
gitaly.proto
shared.proto
smarthttp.proto
ssh.proto
It has these top-level messages:
CommitIsAncestorResponse
PostReceiveRequest
PostReceiveResponse
FindRefNameRequest
FindRefNameResponse
CommitIsAncestorRequest
FindDefaultBranchNameRequest
FindAllBranchNamesRequest
FindAllTagNamesRequest
FindDefaultBranchNameResponse
FindAllBranchNamesResponse
FindAllTagNamesResponse
CommitDiffRequest
CommitDiffResponse
Repository
ExitStatus
InfoRefsRequest
InfoRefsResponse
SSHUploadPackRequest
SSHUploadPackResponse
SSHReceivePackRequest
SSHReceivePackResponse
*/
package
gitaly
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
math
"math"
import
(
context
"golang.org/x/net/context"
grpc
"google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
type
CommitIsAncestorResponse
struct
{
Value
bool
`protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
func
(
m
*
CommitIsAncestorResponse
)
Reset
()
{
*
m
=
CommitIsAncestorResponse
{}
}
func
(
m
*
CommitIsAncestorResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
CommitIsAncestorResponse
)
ProtoMessage
()
{}
func
(
*
CommitIsAncestorResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
}
}
func
(
m
*
CommitIsAncestorResponse
)
GetValue
()
bool
{
if
m
!=
nil
{
return
m
.
Value
}
return
false
}
type
PostReceiveRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func
(
m
*
PostReceiveRequest
)
Reset
()
{
*
m
=
PostReceiveRequest
{}
}
func
(
m
*
PostReceiveRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
PostReceiveRequest
)
ProtoMessage
()
{}
func
(
*
PostReceiveRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
1
}
}
func
(
m
*
PostReceiveRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
type
PostReceiveResponse
struct
{
}
func
(
m
*
PostReceiveResponse
)
Reset
()
{
*
m
=
PostReceiveResponse
{}
}
func
(
m
*
PostReceiveResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
PostReceiveResponse
)
ProtoMessage
()
{}
func
(
*
PostReceiveResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
2
}
}
type
FindRefNameRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Require that the resulting ref contains this commit as an ancestor
CommitId
string
`protobuf:"bytes,2,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
// Example prefix: "refs/heads/". Type bytes because that is the type of ref names.
Prefix
[]
byte
`protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
}
func
(
m
*
FindRefNameRequest
)
Reset
()
{
*
m
=
FindRefNameRequest
{}
}
func
(
m
*
FindRefNameRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FindRefNameRequest
)
ProtoMessage
()
{}
func
(
*
FindRefNameRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
3
}
}
func
(
m
*
FindRefNameRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
func
(
m
*
FindRefNameRequest
)
GetCommitId
()
string
{
if
m
!=
nil
{
return
m
.
CommitId
}
return
""
}
func
(
m
*
FindRefNameRequest
)
GetPrefix
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Prefix
}
return
nil
}
type
FindRefNameResponse
struct
{
// Example name: "refs/heads/master". Cannot assume UTF8, so the type is bytes.
Name
[]
byte
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func
(
m
*
FindRefNameResponse
)
Reset
()
{
*
m
=
FindRefNameResponse
{}
}
func
(
m
*
FindRefNameResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FindRefNameResponse
)
ProtoMessage
()
{}
func
(
*
FindRefNameResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
4
}
}
func
(
m
*
FindRefNameResponse
)
GetName
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Name
}
return
nil
}
type
CommitIsAncestorRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
AncestorId
string
`protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId" json:"ancestor_id,omitempty"`
ChildId
string
`protobuf:"bytes,3,opt,name=child_id,json=childId" json:"child_id,omitempty"`
}
func
(
m
*
CommitIsAncestorRequest
)
Reset
()
{
*
m
=
CommitIsAncestorRequest
{}
}
func
(
m
*
CommitIsAncestorRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
CommitIsAncestorRequest
)
ProtoMessage
()
{}
func
(
*
CommitIsAncestorRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
5
}
}
func
(
m
*
CommitIsAncestorRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
func
(
m
*
CommitIsAncestorRequest
)
GetAncestorId
()
string
{
if
m
!=
nil
{
return
m
.
AncestorId
}
return
""
}
func
(
m
*
CommitIsAncestorRequest
)
GetChildId
()
string
{
if
m
!=
nil
{
return
m
.
ChildId
}
return
""
}
type
FindDefaultBranchNameRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func
(
m
*
FindDefaultBranchNameRequest
)
Reset
()
{
*
m
=
FindDefaultBranchNameRequest
{}
}
func
(
m
*
FindDefaultBranchNameRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FindDefaultBranchNameRequest
)
ProtoMessage
()
{}
func
(
*
FindDefaultBranchNameRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
6
}
}
func
(
m
*
FindDefaultBranchNameRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
type
FindAllBranchNamesRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func
(
m
*
FindAllBranchNamesRequest
)
Reset
()
{
*
m
=
FindAllBranchNamesRequest
{}
}
func
(
m
*
FindAllBranchNamesRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FindAllBranchNamesRequest
)
ProtoMessage
()
{}
func
(
*
FindAllBranchNamesRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
7
}
}
func
(
m
*
FindAllBranchNamesRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
type
FindAllTagNamesRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func
(
m
*
FindAllTagNamesRequest
)
Reset
()
{
*
m
=
FindAllTagNamesRequest
{}
}
func
(
m
*
FindAllTagNamesRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FindAllTagNamesRequest
)
ProtoMessage
()
{}
func
(
*
FindAllTagNamesRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
8
}
}
func
(
m
*
FindAllTagNamesRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
type
FindDefaultBranchNameResponse
struct
{
Name
[]
byte
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func
(
m
*
FindDefaultBranchNameResponse
)
Reset
()
{
*
m
=
FindDefaultBranchNameResponse
{}
}
func
(
m
*
FindDefaultBranchNameResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FindDefaultBranchNameResponse
)
ProtoMessage
()
{}
func
(
*
FindDefaultBranchNameResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
9
}
}
func
(
m
*
FindDefaultBranchNameResponse
)
GetName
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Name
}
return
nil
}
type
FindAllBranchNamesResponse
struct
{
Names
[][]
byte
`protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
}
func
(
m
*
FindAllBranchNamesResponse
)
Reset
()
{
*
m
=
FindAllBranchNamesResponse
{}
}
func
(
m
*
FindAllBranchNamesResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FindAllBranchNamesResponse
)
ProtoMessage
()
{}
func
(
*
FindAllBranchNamesResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
10
}
}
func
(
m
*
FindAllBranchNamesResponse
)
GetNames
()
[][]
byte
{
if
m
!=
nil
{
return
m
.
Names
}
return
nil
}
type
FindAllTagNamesResponse
struct
{
Names
[][]
byte
`protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
}
func
(
m
*
FindAllTagNamesResponse
)
Reset
()
{
*
m
=
FindAllTagNamesResponse
{}
}
func
(
m
*
FindAllTagNamesResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FindAllTagNamesResponse
)
ProtoMessage
()
{}
func
(
*
FindAllTagNamesResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
11
}
}
func
(
m
*
FindAllTagNamesResponse
)
GetNames
()
[][]
byte
{
if
m
!=
nil
{
return
m
.
Names
}
return
nil
}
type
CommitDiffRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
LeftCommitId
string
`protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId" json:"left_commit_id,omitempty"`
RightCommitId
string
`protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId" json:"right_commit_id,omitempty"`
}
func
(
m
*
CommitDiffRequest
)
Reset
()
{
*
m
=
CommitDiffRequest
{}
}
func
(
m
*
CommitDiffRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
CommitDiffRequest
)
ProtoMessage
()
{}
func
(
*
CommitDiffRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
12
}
}
func
(
m
*
CommitDiffRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
func
(
m
*
CommitDiffRequest
)
GetLeftCommitId
()
string
{
if
m
!=
nil
{
return
m
.
LeftCommitId
}
return
""
}
func
(
m
*
CommitDiffRequest
)
GetRightCommitId
()
string
{
if
m
!=
nil
{
return
m
.
RightCommitId
}
return
""
}
// A CommitDiffResponse corresponds to a single changed file in a commit.
type
CommitDiffResponse
struct
{
FromPath
[]
byte
`protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"`
ToPath
[]
byte
`protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"`
// Blob ID as returned via `git diff --full-index`
FromId
string
`protobuf:"bytes,3,opt,name=from_id,json=fromId" json:"from_id,omitempty"`
ToId
string
`protobuf:"bytes,4,opt,name=to_id,json=toId" json:"to_id,omitempty"`
OldMode
int32
`protobuf:"varint,5,opt,name=old_mode,json=oldMode" json:"old_mode,omitempty"`
NewMode
int32
`protobuf:"varint,6,opt,name=new_mode,json=newMode" json:"new_mode,omitempty"`
Binary
bool
`protobuf:"varint,7,opt,name=binary" json:"binary,omitempty"`
RawChunks
[][]
byte
`protobuf:"bytes,8,rep,name=raw_chunks,json=rawChunks,proto3" json:"raw_chunks,omitempty"`
}
func
(
m
*
CommitDiffResponse
)
Reset
()
{
*
m
=
CommitDiffResponse
{}
}
func
(
m
*
CommitDiffResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
CommitDiffResponse
)
ProtoMessage
()
{}
func
(
*
CommitDiffResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
13
}
}
func
(
m
*
CommitDiffResponse
)
GetFromPath
()
[]
byte
{
if
m
!=
nil
{
return
m
.
FromPath
}
return
nil
}
func
(
m
*
CommitDiffResponse
)
GetToPath
()
[]
byte
{
if
m
!=
nil
{
return
m
.
ToPath
}
return
nil
}
func
(
m
*
CommitDiffResponse
)
GetFromId
()
string
{
if
m
!=
nil
{
return
m
.
FromId
}
return
""
}
func
(
m
*
CommitDiffResponse
)
GetToId
()
string
{
if
m
!=
nil
{
return
m
.
ToId
}
return
""
}
func
(
m
*
CommitDiffResponse
)
GetOldMode
()
int32
{
if
m
!=
nil
{
return
m
.
OldMode
}
return
0
}
func
(
m
*
CommitDiffResponse
)
GetNewMode
()
int32
{
if
m
!=
nil
{
return
m
.
NewMode
}
return
0
}
func
(
m
*
CommitDiffResponse
)
GetBinary
()
bool
{
if
m
!=
nil
{
return
m
.
Binary
}
return
false
}
func
(
m
*
CommitDiffResponse
)
GetRawChunks
()
[][]
byte
{
if
m
!=
nil
{
return
m
.
RawChunks
}
return
nil
}
func
init
()
{
proto
.
RegisterType
((
*
CommitIsAncestorResponse
)(
nil
),
"gitaly.CommitIsAncestorResponse"
)
proto
.
RegisterType
((
*
PostReceiveRequest
)(
nil
),
"gitaly.PostReceiveRequest"
)
proto
.
RegisterType
((
*
PostReceiveResponse
)(
nil
),
"gitaly.PostReceiveResponse"
)
proto
.
RegisterType
((
*
FindRefNameRequest
)(
nil
),
"gitaly.FindRefNameRequest"
)
proto
.
RegisterType
((
*
FindRefNameResponse
)(
nil
),
"gitaly.FindRefNameResponse"
)
proto
.
RegisterType
((
*
CommitIsAncestorRequest
)(
nil
),
"gitaly.CommitIsAncestorRequest"
)
proto
.
RegisterType
((
*
FindDefaultBranchNameRequest
)(
nil
),
"gitaly.FindDefaultBranchNameRequest"
)
proto
.
RegisterType
((
*
FindAllBranchNamesRequest
)(
nil
),
"gitaly.FindAllBranchNamesRequest"
)
proto
.
RegisterType
((
*
FindAllTagNamesRequest
)(
nil
),
"gitaly.FindAllTagNamesRequest"
)
proto
.
RegisterType
((
*
FindDefaultBranchNameResponse
)(
nil
),
"gitaly.FindDefaultBranchNameResponse"
)
proto
.
RegisterType
((
*
FindAllBranchNamesResponse
)(
nil
),
"gitaly.FindAllBranchNamesResponse"
)
proto
.
RegisterType
((
*
FindAllTagNamesResponse
)(
nil
),
"gitaly.FindAllTagNamesResponse"
)
proto
.
RegisterType
((
*
CommitDiffRequest
)(
nil
),
"gitaly.CommitDiffRequest"
)
proto
.
RegisterType
((
*
CommitDiffResponse
)(
nil
),
"gitaly.CommitDiffResponse"
)
}
// Reference imports to suppress errors if they are not otherwise used.
var
_
context
.
Context
var
_
grpc
.
ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const
_
=
grpc
.
SupportPackageIsVersion4
// Client API for Notifications service
type
NotificationsClient
interface
{
PostReceive
(
ctx
context
.
Context
,
in
*
PostReceiveRequest
,
opts
...
grpc
.
CallOption
)
(
*
PostReceiveResponse
,
error
)
}
type
notificationsClient
struct
{
cc
*
grpc
.
ClientConn
}
func
NewNotificationsClient
(
cc
*
grpc
.
ClientConn
)
NotificationsClient
{
return
&
notificationsClient
{
cc
}
}
func
(
c
*
notificationsClient
)
PostReceive
(
ctx
context
.
Context
,
in
*
PostReceiveRequest
,
opts
...
grpc
.
CallOption
)
(
*
PostReceiveResponse
,
error
)
{
out
:=
new
(
PostReceiveResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/gitaly.Notifications/PostReceive"
,
in
,
out
,
c
.
cc
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
// Server API for Notifications service
type
NotificationsServer
interface
{
PostReceive
(
context
.
Context
,
*
PostReceiveRequest
)
(
*
PostReceiveResponse
,
error
)
}
func
RegisterNotificationsServer
(
s
*
grpc
.
Server
,
srv
NotificationsServer
)
{
s
.
RegisterService
(
&
_Notifications_serviceDesc
,
srv
)
}
func
_Notifications_PostReceive_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
PostReceiveRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
NotificationsServer
)
.
PostReceive
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/gitaly.Notifications/PostReceive"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
NotificationsServer
)
.
PostReceive
(
ctx
,
req
.
(
*
PostReceiveRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
var
_Notifications_serviceDesc
=
grpc
.
ServiceDesc
{
ServiceName
:
"gitaly.Notifications"
,
HandlerType
:
(
*
NotificationsServer
)(
nil
),
Methods
:
[]
grpc
.
MethodDesc
{
{
MethodName
:
"PostReceive"
,
Handler
:
_Notifications_PostReceive_Handler
,
},
},
Streams
:
[]
grpc
.
StreamDesc
{},
Metadata
:
"gitaly.proto"
,
}
// Client API for Ref service
type
RefClient
interface
{
FindDefaultBranchName
(
ctx
context
.
Context
,
in
*
FindDefaultBranchNameRequest
,
opts
...
grpc
.
CallOption
)
(
*
FindDefaultBranchNameResponse
,
error
)
FindAllBranchNames
(
ctx
context
.
Context
,
in
*
FindAllBranchNamesRequest
,
opts
...
grpc
.
CallOption
)
(
Ref_FindAllBranchNamesClient
,
error
)
FindAllTagNames
(
ctx
context
.
Context
,
in
*
FindAllTagNamesRequest
,
opts
...
grpc
.
CallOption
)
(
Ref_FindAllTagNamesClient
,
error
)
// Find a Ref matching the given constraints. Response may be empty.
FindRefName
(
ctx
context
.
Context
,
in
*
FindRefNameRequest
,
opts
...
grpc
.
CallOption
)
(
*
FindRefNameResponse
,
error
)
}
type
refClient
struct
{
cc
*
grpc
.
ClientConn
}
func
NewRefClient
(
cc
*
grpc
.
ClientConn
)
RefClient
{
return
&
refClient
{
cc
}
}
func
(
c
*
refClient
)
FindDefaultBranchName
(
ctx
context
.
Context
,
in
*
FindDefaultBranchNameRequest
,
opts
...
grpc
.
CallOption
)
(
*
FindDefaultBranchNameResponse
,
error
)
{
out
:=
new
(
FindDefaultBranchNameResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/gitaly.Ref/FindDefaultBranchName"
,
in
,
out
,
c
.
cc
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
refClient
)
FindAllBranchNames
(
ctx
context
.
Context
,
in
*
FindAllBranchNamesRequest
,
opts
...
grpc
.
CallOption
)
(
Ref_FindAllBranchNamesClient
,
error
)
{
stream
,
err
:=
grpc
.
NewClientStream
(
ctx
,
&
_Ref_serviceDesc
.
Streams
[
0
],
c
.
cc
,
"/gitaly.Ref/FindAllBranchNames"
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
x
:=
&
refFindAllBranchNamesClient
{
stream
}
if
err
:=
x
.
ClientStream
.
SendMsg
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
err
:=
x
.
ClientStream
.
CloseSend
();
err
!=
nil
{
return
nil
,
err
}
return
x
,
nil
}
type
Ref_FindAllBranchNamesClient
interface
{
Recv
()
(
*
FindAllBranchNamesResponse
,
error
)
grpc
.
ClientStream
}
type
refFindAllBranchNamesClient
struct
{
grpc
.
ClientStream
}
func
(
x
*
refFindAllBranchNamesClient
)
Recv
()
(
*
FindAllBranchNamesResponse
,
error
)
{
m
:=
new
(
FindAllBranchNamesResponse
)
if
err
:=
x
.
ClientStream
.
RecvMsg
(
m
);
err
!=
nil
{
return
nil
,
err
}
return
m
,
nil
}
func
(
c
*
refClient
)
FindAllTagNames
(
ctx
context
.
Context
,
in
*
FindAllTagNamesRequest
,
opts
...
grpc
.
CallOption
)
(
Ref_FindAllTagNamesClient
,
error
)
{
stream
,
err
:=
grpc
.
NewClientStream
(
ctx
,
&
_Ref_serviceDesc
.
Streams
[
1
],
c
.
cc
,
"/gitaly.Ref/FindAllTagNames"
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
x
:=
&
refFindAllTagNamesClient
{
stream
}
if
err
:=
x
.
ClientStream
.
SendMsg
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
err
:=
x
.
ClientStream
.
CloseSend
();
err
!=
nil
{
return
nil
,
err
}
return
x
,
nil
}
type
Ref_FindAllTagNamesClient
interface
{
Recv
()
(
*
FindAllTagNamesResponse
,
error
)
grpc
.
ClientStream
}
type
refFindAllTagNamesClient
struct
{
grpc
.
ClientStream
}
func
(
x
*
refFindAllTagNamesClient
)
Recv
()
(
*
FindAllTagNamesResponse
,
error
)
{
m
:=
new
(
FindAllTagNamesResponse
)
if
err
:=
x
.
ClientStream
.
RecvMsg
(
m
);
err
!=
nil
{
return
nil
,
err
}
return
m
,
nil
}
func
(
c
*
refClient
)
FindRefName
(
ctx
context
.
Context
,
in
*
FindRefNameRequest
,
opts
...
grpc
.
CallOption
)
(
*
FindRefNameResponse
,
error
)
{
out
:=
new
(
FindRefNameResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/gitaly.Ref/FindRefName"
,
in
,
out
,
c
.
cc
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
// Server API for Ref service
type
RefServer
interface
{
FindDefaultBranchName
(
context
.
Context
,
*
FindDefaultBranchNameRequest
)
(
*
FindDefaultBranchNameResponse
,
error
)
FindAllBranchNames
(
*
FindAllBranchNamesRequest
,
Ref_FindAllBranchNamesServer
)
error
FindAllTagNames
(
*
FindAllTagNamesRequest
,
Ref_FindAllTagNamesServer
)
error
// Find a Ref matching the given constraints. Response may be empty.
FindRefName
(
context
.
Context
,
*
FindRefNameRequest
)
(
*
FindRefNameResponse
,
error
)
}
func
RegisterRefServer
(
s
*
grpc
.
Server
,
srv
RefServer
)
{
s
.
RegisterService
(
&
_Ref_serviceDesc
,
srv
)
}
func
_Ref_FindDefaultBranchName_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
FindDefaultBranchNameRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
RefServer
)
.
FindDefaultBranchName
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/gitaly.Ref/FindDefaultBranchName"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
RefServer
)
.
FindDefaultBranchName
(
ctx
,
req
.
(
*
FindDefaultBranchNameRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_Ref_FindAllBranchNames_Handler
(
srv
interface
{},
stream
grpc
.
ServerStream
)
error
{
m
:=
new
(
FindAllBranchNamesRequest
)
if
err
:=
stream
.
RecvMsg
(
m
);
err
!=
nil
{
return
err
}
return
srv
.
(
RefServer
)
.
FindAllBranchNames
(
m
,
&
refFindAllBranchNamesServer
{
stream
})
}
type
Ref_FindAllBranchNamesServer
interface
{
Send
(
*
FindAllBranchNamesResponse
)
error
grpc
.
ServerStream
}
type
refFindAllBranchNamesServer
struct
{
grpc
.
ServerStream
}
func
(
x
*
refFindAllBranchNamesServer
)
Send
(
m
*
FindAllBranchNamesResponse
)
error
{
return
x
.
ServerStream
.
SendMsg
(
m
)
}
func
_Ref_FindAllTagNames_Handler
(
srv
interface
{},
stream
grpc
.
ServerStream
)
error
{
m
:=
new
(
FindAllTagNamesRequest
)
if
err
:=
stream
.
RecvMsg
(
m
);
err
!=
nil
{
return
err
}
return
srv
.
(
RefServer
)
.
FindAllTagNames
(
m
,
&
refFindAllTagNamesServer
{
stream
})
}
type
Ref_FindAllTagNamesServer
interface
{
Send
(
*
FindAllTagNamesResponse
)
error
grpc
.
ServerStream
}
type
refFindAllTagNamesServer
struct
{
grpc
.
ServerStream
}
func
(
x
*
refFindAllTagNamesServer
)
Send
(
m
*
FindAllTagNamesResponse
)
error
{
return
x
.
ServerStream
.
SendMsg
(
m
)
}
func
_Ref_FindRefName_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
FindRefNameRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
RefServer
)
.
FindRefName
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/gitaly.Ref/FindRefName"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
RefServer
)
.
FindRefName
(
ctx
,
req
.
(
*
FindRefNameRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
var
_Ref_serviceDesc
=
grpc
.
ServiceDesc
{
ServiceName
:
"gitaly.Ref"
,
HandlerType
:
(
*
RefServer
)(
nil
),
Methods
:
[]
grpc
.
MethodDesc
{
{
MethodName
:
"FindDefaultBranchName"
,
Handler
:
_Ref_FindDefaultBranchName_Handler
,
},
{
MethodName
:
"FindRefName"
,
Handler
:
_Ref_FindRefName_Handler
,
},
},
Streams
:
[]
grpc
.
StreamDesc
{
{
StreamName
:
"FindAllBranchNames"
,
Handler
:
_Ref_FindAllBranchNames_Handler
,
ServerStreams
:
true
,
},
{
StreamName
:
"FindAllTagNames"
,
Handler
:
_Ref_FindAllTagNames_Handler
,
ServerStreams
:
true
,
},
},
Metadata
:
"gitaly.proto"
,
}
// Client API for Diff service
type
DiffClient
interface
{
// Returns stream of CommitDiffResponse: 1 per changed file
CommitDiff
(
ctx
context
.
Context
,
in
*
CommitDiffRequest
,
opts
...
grpc
.
CallOption
)
(
Diff_CommitDiffClient
,
error
)
}
type
diffClient
struct
{
cc
*
grpc
.
ClientConn
}
func
NewDiffClient
(
cc
*
grpc
.
ClientConn
)
DiffClient
{
return
&
diffClient
{
cc
}
}
func
(
c
*
diffClient
)
CommitDiff
(
ctx
context
.
Context
,
in
*
CommitDiffRequest
,
opts
...
grpc
.
CallOption
)
(
Diff_CommitDiffClient
,
error
)
{
stream
,
err
:=
grpc
.
NewClientStream
(
ctx
,
&
_Diff_serviceDesc
.
Streams
[
0
],
c
.
cc
,
"/gitaly.Diff/CommitDiff"
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
x
:=
&
diffCommitDiffClient
{
stream
}
if
err
:=
x
.
ClientStream
.
SendMsg
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
err
:=
x
.
ClientStream
.
CloseSend
();
err
!=
nil
{
return
nil
,
err
}
return
x
,
nil
}
type
Diff_CommitDiffClient
interface
{
Recv
()
(
*
CommitDiffResponse
,
error
)
grpc
.
ClientStream
}
type
diffCommitDiffClient
struct
{
grpc
.
ClientStream
}
func
(
x
*
diffCommitDiffClient
)
Recv
()
(
*
CommitDiffResponse
,
error
)
{
m
:=
new
(
CommitDiffResponse
)
if
err
:=
x
.
ClientStream
.
RecvMsg
(
m
);
err
!=
nil
{
return
nil
,
err
}
return
m
,
nil
}
// Server API for Diff service
type
DiffServer
interface
{
// Returns stream of CommitDiffResponse: 1 per changed file
CommitDiff
(
*
CommitDiffRequest
,
Diff_CommitDiffServer
)
error
}
func
RegisterDiffServer
(
s
*
grpc
.
Server
,
srv
DiffServer
)
{
s
.
RegisterService
(
&
_Diff_serviceDesc
,
srv
)
}
func
_Diff_CommitDiff_Handler
(
srv
interface
{},
stream
grpc
.
ServerStream
)
error
{
m
:=
new
(
CommitDiffRequest
)
if
err
:=
stream
.
RecvMsg
(
m
);
err
!=
nil
{
return
err
}
return
srv
.
(
DiffServer
)
.
CommitDiff
(
m
,
&
diffCommitDiffServer
{
stream
})
}
type
Diff_CommitDiffServer
interface
{
Send
(
*
CommitDiffResponse
)
error
grpc
.
ServerStream
}
type
diffCommitDiffServer
struct
{
grpc
.
ServerStream
}
func
(
x
*
diffCommitDiffServer
)
Send
(
m
*
CommitDiffResponse
)
error
{
return
x
.
ServerStream
.
SendMsg
(
m
)
}
var
_Diff_serviceDesc
=
grpc
.
ServiceDesc
{
ServiceName
:
"gitaly.Diff"
,
HandlerType
:
(
*
DiffServer
)(
nil
),
Methods
:
[]
grpc
.
MethodDesc
{},
Streams
:
[]
grpc
.
StreamDesc
{
{
StreamName
:
"CommitDiff"
,
Handler
:
_Diff_CommitDiff_Handler
,
ServerStreams
:
true
,
},
},
Metadata
:
"gitaly.proto"
,
}
// Client API for Commit service
type
CommitClient
interface
{
CommitIsAncestor
(
ctx
context
.
Context
,
in
*
CommitIsAncestorRequest
,
opts
...
grpc
.
CallOption
)
(
*
CommitIsAncestorResponse
,
error
)
}
type
commitClient
struct
{
cc
*
grpc
.
ClientConn
}
func
NewCommitClient
(
cc
*
grpc
.
ClientConn
)
CommitClient
{
return
&
commitClient
{
cc
}
}
func
(
c
*
commitClient
)
CommitIsAncestor
(
ctx
context
.
Context
,
in
*
CommitIsAncestorRequest
,
opts
...
grpc
.
CallOption
)
(
*
CommitIsAncestorResponse
,
error
)
{
out
:=
new
(
CommitIsAncestorResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/gitaly.Commit/CommitIsAncestor"
,
in
,
out
,
c
.
cc
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
// Server API for Commit service
type
CommitServer
interface
{
CommitIsAncestor
(
context
.
Context
,
*
CommitIsAncestorRequest
)
(
*
CommitIsAncestorResponse
,
error
)
}
func
RegisterCommitServer
(
s
*
grpc
.
Server
,
srv
CommitServer
)
{
s
.
RegisterService
(
&
_Commit_serviceDesc
,
srv
)
}
func
_Commit_CommitIsAncestor_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
CommitIsAncestorRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
CommitServer
)
.
CommitIsAncestor
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/gitaly.Commit/CommitIsAncestor"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
CommitServer
)
.
CommitIsAncestor
(
ctx
,
req
.
(
*
CommitIsAncestorRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
var
_Commit_serviceDesc
=
grpc
.
ServiceDesc
{
ServiceName
:
"gitaly.Commit"
,
HandlerType
:
(
*
CommitServer
)(
nil
),
Methods
:
[]
grpc
.
MethodDesc
{
{
MethodName
:
"CommitIsAncestor"
,
Handler
:
_Commit_CommitIsAncestor_Handler
,
},
},
Streams
:
[]
grpc
.
StreamDesc
{},
Metadata
:
"gitaly.proto"
,
}
func
init
()
{
proto
.
RegisterFile
(
"gitaly.proto"
,
fileDescriptor0
)
}
var
fileDescriptor0
=
[]
byte
{
// 675 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xa4
,
0x55
,
0xdf
,
0x52
,
0xd3
,
0x4e
,
0x14
,
0x26
,
0xb4
,
0x4d
,
0xdb
,
0xd3
,
0xf2
,
0xe3
,
0xe7
,
0x41
,
0x20
,
0x04
,
0x91
,
0x9a
,
0x41
,
0xa7
,
0xde
,
0x20
,
0x13
,
0x9e
,
0x00
,
0x61
,
0x94
,
0xce
,
0x28
,
0x30
,
0x3b
,
0x8e
,
0x8e
,
0x57
,
0x9d
,
0x25
,
0xd9
,
0x90
,
0x1d
,
0xd3
,
0x6c
,
0x4d
,
0xb6
,
0x54
,
0x2e
,
0x7c
,
0x00
,
0x1f
,
0xc0
,
0x47
,
0xf4
,
0xde
,
0x47
,
0x70
,
0x92
,
0x4d
,
0x48
,
0xfa
,
0x87
,
0x3a
,
0x63
,
0xef
,
0x7a
,
0xce
,
0x77
,
0xfe
,
0xed
,
0xe9
,
0x77
,
0xbe
,
0x40
,
0xfb
,
0x86
,
0x4b
,
0x1a
,
0xdc
,
0x1d
,
0x0e
,
0x23
,
0x21
,
0x05
,
0xea
,
0xca
,
0x32
,
0xdb
,
0xb1
,
0x4f
,
0x23
,
0xe6
,
0x2a
,
0xaf
,
0x75
,
0x04
,
0xc6
,
0xa9
,
0x18
,
0x0c
,
0xb8
,
0xec
,
0xc5
,
0x27
,
0xa1
,
0xc3
,
0x62
,
0x29
,
0x22
,
0xc2
,
0xe2
,
0xa1
,
0x08
,
0x63
,
0x86
,
0x8f
,
0xa1
,
0x76
,
0x4b
,
0x83
,
0x11
,
0x33
,
0xb4
,
0x8e
,
0xd6
,
0x6d
,
0x10
,
0x65
,
0x58
,
0xe7
,
0x80
,
0x57
,
0x22
,
0x96
,
0x84
,
0x39
,
0x8c
,
0xdf
,
0x32
,
0xc2
,
0xbe
,
0x8e
,
0x58
,
0x2c
,
0xd1
,
0x06
,
0x88
,
0xd8
,
0x50
,
0xc4
,
0x5c
,
0x8a
,
0xe8
,
0x2e
,
0x4d
,
0x68
,
0xd9
,
0x78
,
0x98
,
0x0d
,
0x40
,
0xee
,
0x11
,
0x52
,
0x8a
,
0xb2
,
0x36
,
0x61
,
0x63
,
0xa2
,
0x92
,
0x6a
,
0x6b
,
0x7d
,
0x07
,
0x7c
,
0xc3
,
0x43
,
0x97
,
0x30
,
0xef
,
0x82
,
0x0e
,
0x96
,
0x69
,
0x80
,
0xbb
,
0xd0
,
0x74
,
0xd2
,
0xc7
,
0xf5
,
0xb9
,
0x6b
,
0xac
,
0x76
,
0xb4
,
0x6e
,
0x93
,
0x34
,
0x94
,
0xa3
,
0xe7
,
0xe2
,
0x16
,
0xe8
,
0xc3
,
0x88
,
0x79
,
0xfc
,
0x9b
,
0x51
,
0xe9
,
0x68
,
0xdd
,
0x36
,
0xc9
,
0x2c
,
0xeb
,
0x25
,
0x6c
,
0x4c
,
0xb4
,
0xcf
,
0x96
,
0x81
,
0x50
,
0x0d
,
0xe9
,
0x40
,
0xed
,
0xa2
,
0x4d
,
0xd2
,
0xdf
,
0xd6
,
0x0f
,
0x0d
,
0xb6
,
0x67
,
0xb7
,
0xf7
,
0xef
,
0xf3
,
0xee
,
0x43
,
0x8b
,
0x66
,
0x65
,
0x8a
,
0x89
,
0x21
,
0x77
,
0xf5
,
0x5c
,
0xdc
,
0x81
,
0x86
,
0xe3
,
0xf3
,
0xc0
,
0x4d
,
0xd0
,
0x4a
,
0x8a
,
0xd6
,
0x53
,
0xbb
,
0xe7
,
0x5a
,
0x04
,
0x9e
,
0x24
,
0x63
,
0x9f
,
0x31
,
0x8f
,
0x8e
,
0x02
,
0xf9
,
0x3a
,
0xa2
,
0xa1
,
0xe3
,
0x2f
,
0xb9
,
0x3f
,
0xeb
,
0x12
,
0x76
,
0x92
,
0x9a
,
0x27
,
0x41
,
0x50
,
0xd4
,
0x8b
,
0x97
,
0x29
,
0xf8
,
0x0e
,
0xb6
,
0xb2
,
0x82
,
0x1f
,
0xe8
,
0xcd
,
0xd2
,
0xd5
,
0x8e
,
0x61
,
0xef
,
0x81
,
0x27
,
0x2f
,
0xf8
,
0xcf
,
0x6c
,
0x30
,
0xe7
,
0xbd
,
0xa9
,
0xa0
,
0x7c
,
0x12
,
0x15
,
0x1b
,
0x5a
,
0xa7
,
0xd2
,
0x6d
,
0x13
,
0x65
,
0x58
,
0xaf
,
0x60
,
0x7b
,
0x66
,
0xec
,
0x85
,
0x09
,
0x3f
,
0x35
,
0x78
,
0xa4
,
0x88
,
0x71
,
0xc6
,
0x3d
,
0x6f
,
0x19
,
0x4a
,
0x1c
,
0xc0
,
0x7f
,
0x01
,
0xf3
,
0x64
,
0x7f
,
0x9a
,
0xc7
,
0xed
,
0xc4
,
0x7b
,
0x9a
,
0x73
,
0xf9
,
0x05
,
0xac
,
0x47
,
0xfc
,
0xc6
,
0x2f
,
0x87
,
0x29
,
0x7a
,
0xac
,
0xa5
,
0xee
,
0x3c
,
0xce
,
0xfa
,
0xa5
,
0x01
,
0x96
,
0xe7
,
0xca
,
0x1e
,
0xb1
,
0x0b
,
0x4d
,
0x2f
,
0x12
,
0x83
,
0xfe
,
0x90
,
0x4a
,
0x3f
,
0x5b
,
0x56
,
0x23
,
0x71
,
0x5c
,
0x51
,
0xe9
,
0xe3
,
0x36
,
0xd4
,
0xa5
,
0x50
,
0xd0
,
0xaa
,
0x3a
,
0x14
,
0x29
,
0x72
,
0x20
,
0xcd
,
0xba
,
0x6f
,
0xa6
,
0x27
,
0x66
,
0xcf
,
0xc5
,
0x0d
,
0xa8
,
0x49
,
0x91
,
0xb8
,
0xab
,
0xa9
,
0xbb
,
0x2a
,
0x85
,
0xa2
,
0xae
,
0x08
,
0xdc
,
0xfe
,
0x40
,
0xb8
,
0xcc
,
0xa8
,
0x75
,
0xb4
,
0x6e
,
0x8d
,
0xd4
,
0x45
,
0xe0
,
0xbe
,
0x17
,
0x2e
,
0x4b
,
0xa0
,
0x90
,
0x8d
,
0x15
,
0xa4
,
0x2b
,
0x28
,
0x64
,
0xe3
,
0x14
,
0xda
,
0x02
,
0xfd
,
0x9a
,
0x87
,
0x34
,
0xba
,
0x33
,
0xea
,
0xa9
,
0x06
,
0x65
,
0x16
,
0xee
,
0x01
,
0x44
,
0x74
,
0xdc
,
0x77
,
0xfc
,
0x51
,
0xf8
,
0x25
,
0x36
,
0x1a
,
0xe9
,
0xee
,
0x9b
,
0x11
,
0x1d
,
0x9f
,
0xa6
,
0x0e
,
0xfb
,
0x33
,
0xac
,
0x5d
,
0x08
,
0xc9
,
0x3d
,
0xee
,
0x50
,
0xc9
,
0x45
,
0x18
,
0xe3
,
0x39
,
0xb4
,
0x4a
,
0x52
,
0x83
,
0x66
,
0xbe
,
0xf5
,
0x59
,
0x25
,
0x33
,
0x77
,
0xe7
,
0x62
,
0x99
,
0x36
,
0xad
,
0xd8
,
0xbf
,
0x57
,
0xa1
,
0x42
,
0x98
,
0x87
,
0x1e
,
0x6c
,
0xce
,
0x25
,
0x1f
,
0x1e
,
0xe4
,
0xf9
,
0x8b
,
0xce
,
0xd1
,
0x7c
,
0xfe
,
0x97
,
0xa8
,
0xbc
,
0x1f
,
0xf6
,
0x95
,
0x1a
,
0x4e
,
0xf2
,
0x15
,
0x9f
,
0x95
,
0xd3
,
0xe7
,
0xde
,
0xa7
,
0x69
,
0x2d
,
0x0a
,
0xc9
,
0xcb
,
0x1f
,
0x69
,
0xf8
,
0x11
,
0xd6
,
0xa7
,
0xc8
,
0x8d
,
0x4f
,
0xa7
,
0x52
,
0xa7
,
0x8e
,
0xd5
,
0xdc
,
0x7f
,
0x10
,
0x2f
,
0xd5
,
0x3d
,
0x87
,
0x56
,
0x49
,
0x47
,
0x8b
,
0x95
,
0xcf
,
0x6a
,
0x7b
,
0xb1
,
0xf2
,
0x39
,
0xc2
,
0x6b
,
0xad
,
0xd8
,
0x97
,
0x50
,
0x4d
,
0xe8
,
0x8a
,
0x6f
,
0x01
,
0x0a
,
0xf2
,
0xe2
,
0x4e
,
0x9e
,
0x34
,
0x73
,
0x68
,
0xa6
,
0x39
,
0x0f
,
0x2a
,
0x46
,
0xb3
,
0x29
,
0xe8
,
0x0a
,
0xc1
,
0x4f
,
0xf0
,
0xff
,
0xb4
,
0x80
,
0xe3
,
0xfe
,
0x64
,
0xf6
,
0x8c
,
0xb4
,
0x9b
,
0x9d
,
0x87
,
0x03
,
0xf2
,
0x26
,
0xd7
,
0x7a
,
0xfa
,
0x79
,
0x3d
,
0xfe
,
0x13
,
0x00
,
0x00
,
0xff
,
0xff
,
0x56
,
0xf0
,
0xf5
,
0xb9
,
0x84
,
0x07
,
0x00
,
0x00
,
}
vendor/gitlab.com/gitlab-org/gitaly
/protos
/go/helper/inforefs.go
→
vendor/gitlab.com/gitlab-org/gitaly
-proto
/go/helper/inforefs.go
View file @
14f35583
...
...
@@ -3,7 +3,7 @@ package helper
import
(
"io"
pb
"gitlab.com/gitlab-org/gitaly
/protos
/go"
pb
"gitlab.com/gitlab-org/gitaly
-proto
/go"
)
type
InfoRefsClient
interface
{
...
...
vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go
0 → 100644
View file @
14f35583
// Code generated by protoc-gen-go.
// source: shared.proto
// DO NOT EDIT!
package
gitaly
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
math
"math"
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
type
Repository
struct
{
Path
string
`protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
}
func
(
m
*
Repository
)
Reset
()
{
*
m
=
Repository
{}
}
func
(
m
*
Repository
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Repository
)
ProtoMessage
()
{}
func
(
*
Repository
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor1
,
[]
int
{
0
}
}
func
(
m
*
Repository
)
GetPath
()
string
{
if
m
!=
nil
{
return
m
.
Path
}
return
""
}
type
ExitStatus
struct
{
Value
int32
`protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
func
(
m
*
ExitStatus
)
Reset
()
{
*
m
=
ExitStatus
{}
}
func
(
m
*
ExitStatus
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ExitStatus
)
ProtoMessage
()
{}
func
(
*
ExitStatus
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor1
,
[]
int
{
1
}
}
func
(
m
*
ExitStatus
)
GetValue
()
int32
{
if
m
!=
nil
{
return
m
.
Value
}
return
0
}
func
init
()
{
proto
.
RegisterType
((
*
Repository
)(
nil
),
"gitaly.Repository"
)
proto
.
RegisterType
((
*
ExitStatus
)(
nil
),
"gitaly.ExitStatus"
)
}
func
init
()
{
proto
.
RegisterFile
(
"shared.proto"
,
fileDescriptor1
)
}
var
fileDescriptor1
=
[]
byte
{
// 111 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0x29
,
0xce
,
0x48
,
0x2c
,
0x4a
,
0x4d
,
0xd1
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x4b
,
0xcf
,
0x2c
,
0x49
,
0xcc
,
0xa9
,
0x54
,
0x52
,
0xe0
,
0xe2
,
0x0a
,
0x4a
,
0x2d
,
0xc8
,
0x2f
,
0xce
,
0x2c
,
0xc9
,
0x2f
,
0xaa
,
0x14
,
0x12
,
0xe2
,
0x62
,
0x29
,
0x48
,
0x2c
,
0xc9
,
0x90
,
0x60
,
0x54
,
0x60
,
0xd4
,
0xe0
,
0x0c
,
0x02
,
0xb3
,
0x95
,
0x94
,
0xb8
,
0xb8
,
0x5c
,
0x2b
,
0x32
,
0x4b
,
0x82
,
0x4b
,
0x12
,
0x4b
,
0x4a
,
0x8b
,
0x85
,
0x44
,
0xb8
,
0x58
,
0xcb
,
0x12
,
0x73
,
0x4a
,
0x53
,
0xc1
,
0x4a
,
0x58
,
0x83
,
0x20
,
0x9c
,
0x24
,
0x36
,
0xb0
,
0xa1
,
0xc6
,
0x80
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0xfd
,
0x48
,
0xc1
,
0x82
,
0x64
,
0x00
,
0x00
,
0x00
,
}
vendor/gitlab.com/gitlab-org/gitaly
/protos/go/gitaly
.pb.go
→
vendor/gitlab.com/gitlab-org/gitaly
-proto/go/smarthttp
.pb.go
View file @
14f35583
// Code generated by protoc-gen-go.
// source:
gitaly
.proto
// source:
smarthttp
.proto
// DO NOT EDIT!
/*
Package gitaly is a generated protocol buffer package.
It is generated from these files:
gitaly.proto
It has these top-level messages:
InfoRefsRequest
InfoRefsResponse
Repository
*/
package
gitaly
import
proto
"github.com/golang/protobuf/proto"
...
...
@@ -29,12 +18,6 @@ var _ = proto.Marshal
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
type
InfoRefsRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
...
...
@@ -42,7 +25,7 @@ type InfoRefsRequest struct {
func
(
m
*
InfoRefsRequest
)
Reset
()
{
*
m
=
InfoRefsRequest
{}
}
func
(
m
*
InfoRefsRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InfoRefsRequest
)
ProtoMessage
()
{}
func
(
*
InfoRefsRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor
0
,
[]
int
{
0
}
}
func
(
*
InfoRefsRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor
2
,
[]
int
{
0
}
}
func
(
m
*
InfoRefsRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
...
...
@@ -58,7 +41,7 @@ type InfoRefsResponse struct {
func
(
m
*
InfoRefsResponse
)
Reset
()
{
*
m
=
InfoRefsResponse
{}
}
func
(
m
*
InfoRefsResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InfoRefsResponse
)
ProtoMessage
()
{}
func
(
*
InfoRefsResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor
0
,
[]
int
{
1
}
}
func
(
*
InfoRefsResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor
2
,
[]
int
{
1
}
}
func
(
m
*
InfoRefsResponse
)
GetData
()
[]
byte
{
if
m
!=
nil
{
...
...
@@ -67,26 +50,9 @@ func (m *InfoRefsResponse) GetData() []byte {
return
nil
}
type
Repository
struct
{
Path
string
`protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
}
func
(
m
*
Repository
)
Reset
()
{
*
m
=
Repository
{}
}
func
(
m
*
Repository
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Repository
)
ProtoMessage
()
{}
func
(
*
Repository
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
2
}
}
func
(
m
*
Repository
)
GetPath
()
string
{
if
m
!=
nil
{
return
m
.
Path
}
return
""
}
func
init
()
{
proto
.
RegisterType
((
*
InfoRefsRequest
)(
nil
),
"gitaly.InfoRefsRequest"
)
proto
.
RegisterType
((
*
InfoRefsResponse
)(
nil
),
"gitaly.InfoRefsResponse"
)
proto
.
RegisterType
((
*
Repository
)(
nil
),
"gitaly.Repository"
)
}
// Reference imports to suppress errors if they are not otherwise used.
...
...
@@ -249,24 +215,24 @@ var _SmartHTTP_serviceDesc = grpc.ServiceDesc{
ServerStreams
:
true
,
},
},
Metadata
:
"
gitaly
.proto"
,
}
func
init
()
{
proto
.
RegisterFile
(
"
gitaly.proto"
,
fileDescriptor0
)
}
var
fileDescriptor
0
=
[]
byte
{
// 20
2
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0x
49
,
0xcf
,
0x2c
,
0x49
,
0x
cc
,
0xa9
,
0xd4
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x83
,
0xf0
,
0x94
,
0x5c
,
0xb9
,
0xf8
,
0x
3d
,
0xf3
,
0xd2
,
0xf2
,
0x83
,
0x52
,
0xd3
,
0x8a
,
0x83
,
0x52
,
0x0b
,
0x4b
,
0x53
,
0x8b
,
0x4b
,
0x84
,
0x
8c
,
0xb8
,
0xb8
,
0x8a
,
0x52
,
0x0b
,
0xf2
,
0x8b
,
0x33
,
0x4b
,
0xf2
,
0x8b
,
0x2a
,
0x25
,
0x18
,
0x15
,
0x
18
,
0x35
,
0xb8
,
0x8d
,
0x84
,
0xf4
,
0xa0
,
0xba
,
0x83
,
0xe0
,
0x32
,
0x41
,
0x48
,
0xaa
,
0x94
,
0xd4
,
0x
b8
,
0x04
,
0x10
,
0xc6
,
0x14
,
0x17
,
0xe4
,
0xe7
,
0x15
,
0xa7
,
0x0a
,
0x09
,
0x71
,
0xb1
,
0xa4
,
0x2
4
,
0x
96
,
0x24
,
0x82
,
0x4d
,
0xe0
,
0x09
,
0x02
,
0xb3
,
0x95
,
0x14
,
0xb8
,
0xb8
,
0x10
,
0x26
,
0x80
,
0x54
,
0x
14
,
0x24
,
0x96
,
0x64
,
0x80
,
0x55
,
0x70
,
0x06
,
0x81
,
0xd9
,
0x46
,
0xcb
,
0x18
,
0xb9
,
0x38
,
0x83
,
0x
73
,
0x13
,
0x8b
,
0x4a
,
0x3c
,
0x42
,
0x42
,
0x02
,
0x84
,
0xbc
,
0xb9
,
0x84
,
0x60
,
0xe6
,
0x86
,
0x16
,
0x
e4
,
0xe4
,
0x27
,
0xa6
,
0x04
,
0x24
,
0x26
,
0x67
,
0x0b
,
0x89
,
0xc3
,
0x5c
,
0x83
,
0xe6
,
0x74
,
0x29
,
0x
09
,
0x4c
,
0x09
,
0x88
,
0x63
,
0x94
,
0x18
,
0x0c
,
0x18
,
0x85
,
0x7c
,
0xb8
,
0x84
,
0x11
,
0xe2
,
0xc9
,
0x
a9
,
0x99
,
0x65
,
0xa9
,
0x14
,
0x98
,
0x96
,
0xc4
,
0x06
,
0x0e
,
0x48
,
0x63
,
0x40
,
0x00
,
0x00
,
0x00
,
0xf
f
,
0xff
,
0x35
,
0xf6
,
0x6a
,
0x74
,
0x58
,
0x01
,
0x00
,
0x00
,
Metadata
:
"
smarthttp
.proto"
,
}
func
init
()
{
proto
.
RegisterFile
(
"
smarthttp.proto"
,
fileDescriptor2
)
}
var
fileDescriptor
2
=
[]
byte
{
// 20
0
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0x
2f
,
0xce
,
0x4d
,
0x2c
,
0x
2a
,
0xc9
,
0x28
,
0x29
,
0x29
,
0xd0
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x4b
,
0xcf
,
0x2c
,
0x
49
,
0xcc
,
0xa9
,
0x94
,
0xe2
,
0x29
,
0xce
,
0x48
,
0x2c
,
0x4a
,
0x4d
,
0x81
,
0x88
,
0x2a
,
0xb9
,
0x72
,
0x
f1
,
0x7b
,
0xe6
,
0xa5
,
0xe5
,
0x07
,
0xa5
,
0xa6
,
0x15
,
0x07
,
0xa5
,
0x16
,
0x96
,
0xa6
,
0x16
,
0x97
,
0x
08
,
0x19
,
0x71
,
0x71
,
0x15
,
0xa5
,
0x16
,
0xe4
,
0x17
,
0x67
,
0x96
,
0xe4
,
0x17
,
0x55
,
0x4a
,
0x30
,
0x
2a
,
0x30
,
0x6a
,
0x70
,
0x1b
,
0x09
,
0xe9
,
0x41
,
0x74
,
0xeb
,
0x05
,
0xc1
,
0x65
,
0x82
,
0x90
,
0x5
4
,
0x
29
,
0xa9
,
0x71
,
0x09
,
0x20
,
0x8c
,
0x29
,
0x2e
,
0xc8
,
0xcf
,
0x2b
,
0x4e
,
0x15
,
0x12
,
0xe2
,
0x62
,
0x
49
,
0x49
,
0x2c
,
0x49
,
0x04
,
0x9b
,
0xc0
,
0x13
,
0x04
,
0x66
,
0x1b
,
0x2d
,
0x63
,
0xe4
,
0xe2
,
0x0c
,
0x
06
,
0x39
,
0xcc
,
0x23
,
0x24
,
0x24
,
0x40
,
0xc8
,
0x9b
,
0x4b
,
0x08
,
0xa6
,
0x2b
,
0xb4
,
0x20
,
0x27
,
0x
3f
,
0x31
,
0x25
,
0x20
,
0x31
,
0x39
,
0x5b
,
0x48
,
0x1c
,
0x66
,
0x17
,
0x9a
,
0xc3
,
0xa4
,
0x24
,
0x30
,
0x
25
,
0x20
,
0x56
,
0x29
,
0x31
,
0x18
,
0x30
,
0x0a
,
0xf9
,
0x70
,
0x09
,
0x23
,
0xc4
,
0x93
,
0x53
,
0x33
,
0x
cb
,
0x52
,
0x29
,
0x30
,
0x2d
,
0x89
,
0x0d
,
0x1c
,
0x3c
,
0xc6
,
0x80
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0xf
d
,
0x13
,
0x70
,
0x6d
,
0x47
,
0x01
,
0x00
,
0x00
,
}
vendor/gitlab.com/gitlab-org/gitaly-proto/go/ssh.pb.go
0 → 100644
View file @
14f35583
// Code generated by protoc-gen-go.
// source: ssh.proto
// DO NOT EDIT!
package
gitaly
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
math
"math"
import
(
context
"golang.org/x/net/context"
grpc
"google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
type
SSHUploadPackRequest
struct
{
// 'repository' must be present in the first message.
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// A chunk of raw data to be copied to 'git upload-pack' standard input
Stdin
[]
byte
`protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
}
func
(
m
*
SSHUploadPackRequest
)
Reset
()
{
*
m
=
SSHUploadPackRequest
{}
}
func
(
m
*
SSHUploadPackRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
SSHUploadPackRequest
)
ProtoMessage
()
{}
func
(
*
SSHUploadPackRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor3
,
[]
int
{
0
}
}
func
(
m
*
SSHUploadPackRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
func
(
m
*
SSHUploadPackRequest
)
GetStdin
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Stdin
}
return
nil
}
type
SSHUploadPackResponse
struct
{
// A chunk of raw data from 'git upload-pack' standard output
Stdout
[]
byte
`protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
// A chunk of raw data from 'git upload-pack' standard error
Stderr
[]
byte
`protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
// This field may be nil. This is intentional: only when the remote
// command has finished can we return its exit status.
ExitStatus
*
ExitStatus
`protobuf:"bytes,3,opt,name=exit_status,json=exitStatus" json:"exit_status,omitempty"`
}
func
(
m
*
SSHUploadPackResponse
)
Reset
()
{
*
m
=
SSHUploadPackResponse
{}
}
func
(
m
*
SSHUploadPackResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
SSHUploadPackResponse
)
ProtoMessage
()
{}
func
(
*
SSHUploadPackResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor3
,
[]
int
{
1
}
}
func
(
m
*
SSHUploadPackResponse
)
GetStdout
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Stdout
}
return
nil
}
func
(
m
*
SSHUploadPackResponse
)
GetStderr
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Stderr
}
return
nil
}
func
(
m
*
SSHUploadPackResponse
)
GetExitStatus
()
*
ExitStatus
{
if
m
!=
nil
{
return
m
.
ExitStatus
}
return
nil
}
type
SSHReceivePackRequest
struct
{
// 'repository' must be present in the first message.
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// A chunk of raw data to be copied to 'git upload-pack' standard input
Stdin
[]
byte
`protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
// Contents of GL_ID environment variable for 'git receive-pack'
GlId
string
`protobuf:"bytes,3,opt,name=gl_id,json=glId" json:"gl_id,omitempty"`
}
func
(
m
*
SSHReceivePackRequest
)
Reset
()
{
*
m
=
SSHReceivePackRequest
{}
}
func
(
m
*
SSHReceivePackRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
SSHReceivePackRequest
)
ProtoMessage
()
{}
func
(
*
SSHReceivePackRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor3
,
[]
int
{
2
}
}
func
(
m
*
SSHReceivePackRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
func
(
m
*
SSHReceivePackRequest
)
GetStdin
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Stdin
}
return
nil
}
func
(
m
*
SSHReceivePackRequest
)
GetGlId
()
string
{
if
m
!=
nil
{
return
m
.
GlId
}
return
""
}
type
SSHReceivePackResponse
struct
{
// A chunk of raw data from 'git receive-pack' standard output
Stdout
[]
byte
`protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
// A chunk of raw data from 'git receive-pack' standard error
Stderr
[]
byte
`protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
// This field may be nil. This is intentional: only when the remote
// command has finished can we return its exit status.
ExitStatus
*
ExitStatus
`protobuf:"bytes,3,opt,name=exit_status,json=exitStatus" json:"exit_status,omitempty"`
}
func
(
m
*
SSHReceivePackResponse
)
Reset
()
{
*
m
=
SSHReceivePackResponse
{}
}
func
(
m
*
SSHReceivePackResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
SSHReceivePackResponse
)
ProtoMessage
()
{}
func
(
*
SSHReceivePackResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor3
,
[]
int
{
3
}
}
func
(
m
*
SSHReceivePackResponse
)
GetStdout
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Stdout
}
return
nil
}
func
(
m
*
SSHReceivePackResponse
)
GetStderr
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Stderr
}
return
nil
}
func
(
m
*
SSHReceivePackResponse
)
GetExitStatus
()
*
ExitStatus
{
if
m
!=
nil
{
return
m
.
ExitStatus
}
return
nil
}
func
init
()
{
proto
.
RegisterType
((
*
SSHUploadPackRequest
)(
nil
),
"gitaly.SSHUploadPackRequest"
)
proto
.
RegisterType
((
*
SSHUploadPackResponse
)(
nil
),
"gitaly.SSHUploadPackResponse"
)
proto
.
RegisterType
((
*
SSHReceivePackRequest
)(
nil
),
"gitaly.SSHReceivePackRequest"
)
proto
.
RegisterType
((
*
SSHReceivePackResponse
)(
nil
),
"gitaly.SSHReceivePackResponse"
)
}
// Reference imports to suppress errors if they are not otherwise used.
var
_
context
.
Context
var
_
grpc
.
ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const
_
=
grpc
.
SupportPackageIsVersion4
// Client API for SSH service
type
SSHClient
interface
{
// To forward 'git upload-pack' to Gitaly for SSH sessions
SSHUploadPack
(
ctx
context
.
Context
,
opts
...
grpc
.
CallOption
)
(
SSH_SSHUploadPackClient
,
error
)
// To forward 'git receive-pack' to Gitaly for SSH sessions
SSHReceivePack
(
ctx
context
.
Context
,
opts
...
grpc
.
CallOption
)
(
SSH_SSHReceivePackClient
,
error
)
}
type
sSHClient
struct
{
cc
*
grpc
.
ClientConn
}
func
NewSSHClient
(
cc
*
grpc
.
ClientConn
)
SSHClient
{
return
&
sSHClient
{
cc
}
}
func
(
c
*
sSHClient
)
SSHUploadPack
(
ctx
context
.
Context
,
opts
...
grpc
.
CallOption
)
(
SSH_SSHUploadPackClient
,
error
)
{
stream
,
err
:=
grpc
.
NewClientStream
(
ctx
,
&
_SSH_serviceDesc
.
Streams
[
0
],
c
.
cc
,
"/gitaly.SSH/SSHUploadPack"
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
x
:=
&
sSHSSHUploadPackClient
{
stream
}
return
x
,
nil
}
type
SSH_SSHUploadPackClient
interface
{
Send
(
*
SSHUploadPackRequest
)
error
Recv
()
(
*
SSHUploadPackResponse
,
error
)
grpc
.
ClientStream
}
type
sSHSSHUploadPackClient
struct
{
grpc
.
ClientStream
}
func
(
x
*
sSHSSHUploadPackClient
)
Send
(
m
*
SSHUploadPackRequest
)
error
{
return
x
.
ClientStream
.
SendMsg
(
m
)
}
func
(
x
*
sSHSSHUploadPackClient
)
Recv
()
(
*
SSHUploadPackResponse
,
error
)
{
m
:=
new
(
SSHUploadPackResponse
)
if
err
:=
x
.
ClientStream
.
RecvMsg
(
m
);
err
!=
nil
{
return
nil
,
err
}
return
m
,
nil
}
func
(
c
*
sSHClient
)
SSHReceivePack
(
ctx
context
.
Context
,
opts
...
grpc
.
CallOption
)
(
SSH_SSHReceivePackClient
,
error
)
{
stream
,
err
:=
grpc
.
NewClientStream
(
ctx
,
&
_SSH_serviceDesc
.
Streams
[
1
],
c
.
cc
,
"/gitaly.SSH/SSHReceivePack"
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
x
:=
&
sSHSSHReceivePackClient
{
stream
}
return
x
,
nil
}
type
SSH_SSHReceivePackClient
interface
{
Send
(
*
SSHReceivePackRequest
)
error
Recv
()
(
*
SSHReceivePackResponse
,
error
)
grpc
.
ClientStream
}
type
sSHSSHReceivePackClient
struct
{
grpc
.
ClientStream
}
func
(
x
*
sSHSSHReceivePackClient
)
Send
(
m
*
SSHReceivePackRequest
)
error
{
return
x
.
ClientStream
.
SendMsg
(
m
)
}
func
(
x
*
sSHSSHReceivePackClient
)
Recv
()
(
*
SSHReceivePackResponse
,
error
)
{
m
:=
new
(
SSHReceivePackResponse
)
if
err
:=
x
.
ClientStream
.
RecvMsg
(
m
);
err
!=
nil
{
return
nil
,
err
}
return
m
,
nil
}
// Server API for SSH service
type
SSHServer
interface
{
// To forward 'git upload-pack' to Gitaly for SSH sessions
SSHUploadPack
(
SSH_SSHUploadPackServer
)
error
// To forward 'git receive-pack' to Gitaly for SSH sessions
SSHReceivePack
(
SSH_SSHReceivePackServer
)
error
}
func
RegisterSSHServer
(
s
*
grpc
.
Server
,
srv
SSHServer
)
{
s
.
RegisterService
(
&
_SSH_serviceDesc
,
srv
)
}
func
_SSH_SSHUploadPack_Handler
(
srv
interface
{},
stream
grpc
.
ServerStream
)
error
{
return
srv
.
(
SSHServer
)
.
SSHUploadPack
(
&
sSHSSHUploadPackServer
{
stream
})
}
type
SSH_SSHUploadPackServer
interface
{
Send
(
*
SSHUploadPackResponse
)
error
Recv
()
(
*
SSHUploadPackRequest
,
error
)
grpc
.
ServerStream
}
type
sSHSSHUploadPackServer
struct
{
grpc
.
ServerStream
}
func
(
x
*
sSHSSHUploadPackServer
)
Send
(
m
*
SSHUploadPackResponse
)
error
{
return
x
.
ServerStream
.
SendMsg
(
m
)
}
func
(
x
*
sSHSSHUploadPackServer
)
Recv
()
(
*
SSHUploadPackRequest
,
error
)
{
m
:=
new
(
SSHUploadPackRequest
)
if
err
:=
x
.
ServerStream
.
RecvMsg
(
m
);
err
!=
nil
{
return
nil
,
err
}
return
m
,
nil
}
func
_SSH_SSHReceivePack_Handler
(
srv
interface
{},
stream
grpc
.
ServerStream
)
error
{
return
srv
.
(
SSHServer
)
.
SSHReceivePack
(
&
sSHSSHReceivePackServer
{
stream
})
}
type
SSH_SSHReceivePackServer
interface
{
Send
(
*
SSHReceivePackResponse
)
error
Recv
()
(
*
SSHReceivePackRequest
,
error
)
grpc
.
ServerStream
}
type
sSHSSHReceivePackServer
struct
{
grpc
.
ServerStream
}
func
(
x
*
sSHSSHReceivePackServer
)
Send
(
m
*
SSHReceivePackResponse
)
error
{
return
x
.
ServerStream
.
SendMsg
(
m
)
}
func
(
x
*
sSHSSHReceivePackServer
)
Recv
()
(
*
SSHReceivePackRequest
,
error
)
{
m
:=
new
(
SSHReceivePackRequest
)
if
err
:=
x
.
ServerStream
.
RecvMsg
(
m
);
err
!=
nil
{
return
nil
,
err
}
return
m
,
nil
}
var
_SSH_serviceDesc
=
grpc
.
ServiceDesc
{
ServiceName
:
"gitaly.SSH"
,
HandlerType
:
(
*
SSHServer
)(
nil
),
Methods
:
[]
grpc
.
MethodDesc
{},
Streams
:
[]
grpc
.
StreamDesc
{
{
StreamName
:
"SSHUploadPack"
,
Handler
:
_SSH_SSHUploadPack_Handler
,
ServerStreams
:
true
,
ClientStreams
:
true
,
},
{
StreamName
:
"SSHReceivePack"
,
Handler
:
_SSH_SSHReceivePack_Handler
,
ServerStreams
:
true
,
ClientStreams
:
true
,
},
},
Metadata
:
"ssh.proto"
,
}
func
init
()
{
proto
.
RegisterFile
(
"ssh.proto"
,
fileDescriptor3
)
}
var
fileDescriptor3
=
[]
byte
{
// 284 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xbc
,
0x52
,
0xcd
,
0x4a
,
0xc3
,
0x40
,
0x10
,
0x76
,
0xad
,
0x0d
,
0x74
,
0x1a
,
0x3d
,
0xac
,
0xb5
,
0x84
,
0xa0
,
0x52
,
0x72
,
0xca
,
0x29
,
0x48
,
0xfa
,
0x0c
,
0x42
,
0xbd
,
0xc9
,
0x86
,
0x9e
,
0x6b
,
0xec
,
0x2e
,
0xe9
,
0x62
,
0xe8
,
0xc6
,
0x9d
,
0x49
,
0x69
,
0x41
,
0xdf
,
0xc9
,
0x47
,
0x14
,
0x92
,
0x58
,
0x92
,
0x6a
,
0x8f
,
0xf6
,
0xb6
,
0x33
,
0xdf
,
0xce
,
0xf7
,
0x33
,
0xbb
,
0x30
,
0x40
,
0x5c
,
0x45
,
0x85
,
0x35
,
0x64
,
0xb8
,
0x93
,
0x69
,
0x4a
,
0xf3
,
0x9d
,
0xef
,
0xe2
,
0x2a
,
0xb5
,
0x4a
,
0xd6
,
0xdd
,
0xe0
,
0x05
,
0x46
,
0x49
,
0x32
,
0x9b
,
0x17
,
0xb9
,
0x49
,
0xe5
,
0x73
,
0xba
,
0x7c
,
0x13
,
0xea
,
0xbd
,
0x54
,
0x48
,
0x3c
,
0x06
,
0xb0
,
0xaa
,
0x30
,
0xa8
,
0xc9
,
0xd8
,
0x9d
,
0xc7
,
0x26
,
0x2c
,
0x1c
,
0xc6
,
0x3c
,
0xaa
,
0x29
,
0x22
,
0xb1
,
0x47
,
0x44
,
0xeb
,
0x16
,
0x1f
,
0x41
,
0x1f
,
0x49
,
0xea
,
0xb5
,
0x77
,
0x3e
,
0x61
,
0xa1
,
0x2b
,
0xea
,
0x22
,
0xf8
,
0x80
,
0x9b
,
0x03
,
0x05
,
0x2c
,
0xcc
,
0x1a
,
0x15
,
0x1f
,
0x83
,
0x83
,
0x24
,
0x4d
,
0x49
,
0x15
,
0xbd
,
0x2b
,
0x9a
,
0xaa
,
0xe9
,
0x2b
,
0x6b
,
0x1b
,
0x9e
,
0xa6
,
0xe2
,
0x53
,
0x18
,
0xaa
,
0xad
,
0xa6
,
0x05
,
0x52
,
0x4a
,
0x25
,
0x7a
,
0xbd
,
0xae
,
0xa7
,
0xc7
,
0xad
,
0xa6
,
0xa4
,
0x42
,
0x04
,
0xa8
,
0xfd
,
0x39
,
0xd8
,
0x54
,
0xea
,
0x42
,
0x2d
,
0x95
,
0xde
,
0xa8
,
0x7f
,
0x09
,
0xc8
,
0xaf
,
0xa1
,
0x9f
,
0xe5
,
0x0b
,
0x2d
,
0x2b
,
0x47
,
0x03
,
0x71
,
0x91
,
0xe5
,
0x4f
,
0x32
,
0xf8
,
0x84
,
0xf1
,
0xa1
,
0xee
,
0x09
,
0x63
,
0xc7
,
0x5f
,
0x0c
,
0x7a
,
0x49
,
0x32
,
0xe3
,
0x02
,
0x2e
,
0x3b
,
0xcb
,
0xe7
,
0xb7
,
0x3f
,
0x83
,
0x7f
,
0xbd
,
0xba
,
0x7f
,
0x77
,
0x04
,
0xad
,
0xad
,
0x07
,
0x67
,
0x21
,
0x7b
,
0x60
,
0x7c
,
0x0e
,
0x57
,
0xdd
,
0x68
,
0xbc
,
0x3d
,
0xf6
,
0x7b
,
0xd5
,
0xfe
,
0xfd
,
0x31
,
0xb8
,
0x4d
,
0xfb
,
0xea
,
0x54
,
0x1f
,
0x72
,
0xfa
,
0x1d
,
0x00
,
0x00
,
0xff
,
0xff
,
0x71
,
0xde
,
0xae
,
0x4f
,
0xb3
,
0x02
,
0x00
,
0x00
,
}
vendor/gitlab.com/gitlab-org/gitaly/NOTICE
deleted
100644 → 0
View file @
261e6951
The following components are included in Gitaly:
PATENTS - go
Additional IP Rights Grant (Patents)
"This implementation" means the copyrightable works distributed by
Google as part of the Go project.
Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
transfer and otherwise run, modify and propagate the contents of this
implementation of Go, where such license applies only to those patent
claims, both currently owned or controlled by Google and acquired in
the future, licensable by Google that are necessarily infringed by this
implementation of Go. This grant does not include claims that would be
infringed only as a consequence of further modification of this
implementation. If you or your agent or exclusive licensee institute or
order or agree to the institution of patent litigation against any
entity (including a cross-claim or counterclaim in a lawsuit) alleging
that this implementation of Go or any code incorporated within this
implementation of Go constitutes direct or contributory patent
infringement, or inducement of patent infringement, then any patent
rights granted to you under this License for this implementation of Go
shall terminate as of the date such litigation is filed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly
The MIT License (MIT)
Copyright (c) 2016-2017 GitLab B.V.
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/beorn7/perks
Copyright (C) 2013 Blake Mizerany
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/golang/protobuf
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/gorilla/context
Copyright (c) 2012 Rodrigo Moraes. All rights reserved.
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/gorilla/handlers
Copyright (c) 2013 The Gorilla Handlers Authors. All rights reserved.
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.
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 HOLDER 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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/gorilla/mux
Copyright (c) 2012 Rodrigo Moraes. All rights reserved.
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/kelseyhightower/envconfig
Copyright (c) 2013 Kelsey Hightower
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/matttproud/golang_protobuf_extensions
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE - gitlab.com/gitlab-org/gitaly/vendor/github.com/matttproud/golang_protobuf_extensions
Copyright 2012 Matt T. Proud (matt.proud@gmail.com)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/prometheus/client_golang
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE - gitlab.com/gitlab-org/gitaly/vendor/github.com/prometheus/client_golang
Prometheus instrumentation library for Go applications
Copyright 2012-2015 The Prometheus Authors
This product includes software developed at
SoundCloud Ltd. (http://soundcloud.com/).
The following components are included in this product:
perks - a fork of https://github.com/bmizerany/perks
https://github.com/beorn7/perks
Copyright 2013-2015 Blake Mizerany, Björn Rabenstein
See https://github.com/beorn7/perks/blob/master/README.md for license details.
Go support for Protocol Buffers - Google's data interchange format
http://github.com/golang/protobuf/
Copyright 2010 The Go Authors
See source code for license details.
Support for streaming Protocol Buffer messages for the Go language (golang).
https://github.com/matttproud/golang_protobuf_extensions
Copyright 2013 Matt T. Proud
Licensed under the Apache License, Version 2.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/prometheus/client_model
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE - gitlab.com/gitlab-org/gitaly/vendor/github.com/prometheus/client_model
Data model artifacts for Prometheus.
Copyright 2012-2015 The Prometheus Authors
This product includes software developed at
SoundCloud Ltd. (http://soundcloud.com/).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/prometheus/common
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE - gitlab.com/gitlab-org/gitaly/vendor/github.com/prometheus/common
Common libraries shared by Prometheus Go components.
Copyright 2015 The Prometheus Authors
This product includes software developed at
SoundCloud Ltd. (http://soundcloud.com/).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/prometheus/procfs
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE - gitlab.com/gitlab-org/gitaly/vendor/github.com/prometheus/procfs
procfs provides functions to retrieve system, kernel and process
metrics from the pseudo-filesystem proc.
Copyright 2014-2015 The Prometheus Authors
This product includes software developed at
SoundCloud Ltd. (http://soundcloud.com/).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/golang.org/x/net
Copyright (c) 2009 The Go Authors. All rights reserved.
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PATENTS - gitlab.com/gitlab-org/gitaly/vendor/golang.org/x/net
Additional IP Rights Grant (Patents)
"This implementation" means the copyrightable works distributed by
Google as part of the Go project.
Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
transfer and otherwise run, modify and propagate the contents of this
implementation of Go, where such license applies only to those patent
claims, both currently owned or controlled by Google and acquired in
the future, licensable by Google that are necessarily infringed by this
implementation of Go. This grant does not include claims that would be
infringed only as a consequence of further modification of this
implementation. If you or your agent or exclusive licensee institute or
order or agree to the institution of patent litigation against any
entity (including a cross-claim or counterclaim in a lawsuit) alleging
that this implementation of Go or any code incorporated within this
implementation of Go constitutes direct or contributory patent
infringement, or inducement of patent infringement, then any patent
rights granted to you under this License for this implementation of Go
shall terminate as of the date such litigation is filed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/google.golang.org/grpc
Copyright 2014, Google Inc.
All rights reserved.
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PATENTS - gitlab.com/gitlab-org/gitaly/vendor/google.golang.org/grpc
Additional IP Rights Grant (Patents)
"This implementation" means the copyrightable works distributed by
Google as part of the gRPC project.
Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
transfer and otherwise run, modify and propagate the contents of this
implementation of gRPC, where such license applies only to those patent
claims, both currently owned or controlled by Google and acquired in
the future, licensable by Google that are necessarily infringed by this
implementation of gRPC. This grant does not include claims that would be
infringed only as a consequence of further modification of this
implementation. If you or your agent or exclusive licensee institute or
order or agree to the institution of patent litigation against any
entity (including a cross-claim or counterclaim in a lawsuit) alleging
that this implementation of gRPC or any code incorporated within this
implementation of gRPC constitutes direct or contributory patent
infringement, or inducement of patent infringement, then any patent
rights granted to you under this License for this implementation of gRPC
shall terminate as of the date such litigation is filed.
vendor/vendor.json
View file @
14f35583
...
...
@@ -86,16 +86,20 @@
"revision"
:
"abf152e5f3e97f2fafac028d2cc06c1feb87ffa5"
},
{
"checksumSHA1"
:
"DIHbjVauqs8UF9Mu5cAS1gS6y70="
,
"comment"
:
"v0.2.0"
,
"path"
:
"gitlab.com/gitlab-org/gitaly/protos/go"
,
"revision"
:
"833b069cd41ec76f56091da40722535735431d2c"
},
{
"checksumSHA1"
:
"KTdei2iUtmq9vzEHHGpeL6QSZqc="
,
"comment"
:
"v0.2.0"
,
"path"
:
"gitlab.com/gitlab-org/gitaly/protos/go/helper"
,
"revision"
:
"833b069cd41ec76f56091da40722535735431d2c"
"checksumSHA1"
:
"HWuFvDMQ5zp554X4QpVjBUgW5wk="
,
"path"
:
"gitlab.com/gitlab-org/gitaly-proto/go"
,
"revision"
:
"84b3ffd032eea7af8df96fb9d7bdc100dac2c569"
,
"revisionTime"
:
"2017-02-27T16:43:55Z"
,
"version"
:
"v0.3.0"
,
"versionExact"
:
"v0.3.0"
},
{
"checksumSHA1"
:
"2E36lBoyaVky2EJP1E5ub6Rg+uI="
,
"path"
:
"gitlab.com/gitlab-org/gitaly-proto/go/helper"
,
"revision"
:
"84b3ffd032eea7af8df96fb9d7bdc100dac2c569"
,
"revisionTime"
:
"2017-02-27T16:43:55Z"
,
"version"
:
"v0.3.0"
,
"versionExact"
:
"v0.3.0"
},
{
"checksumSHA1"
:
"9jjO5GjLa0XF/nfWihF02RoH4qc="
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment