Documentation ¶
Overview ¶
Package revokpb is a generated protocol buffer package.
It is generated from these files:
revok.proto
It has these top-level messages:
CredentialCountRequest OrganizationCredentialCount CredentialCountResponse OrganizationCredentialCountRequest RepositoryCredentialCount OrganizationCredentialCountResponse RepositoryCredentialCountRequest BranchCredentialCount RepositoryCredentialCountResponse SearchQuery SearchResult SourceLocation Repository
Index ¶
- func RegisterRevokServer(s *grpc.Server, srv RevokServer)
- type BCCByName
- type BranchCredentialCount
- type CredentialCountRequest
- type CredentialCountResponse
- type OrganizationCredentialCount
- func (*OrganizationCredentialCount) Descriptor() ([]byte, []int)
- func (m *OrganizationCredentialCount) GetCount() int64
- func (m *OrganizationCredentialCount) GetOwner() string
- func (*OrganizationCredentialCount) ProtoMessage()
- func (m *OrganizationCredentialCount) Reset()
- func (m *OrganizationCredentialCount) String() string
- type OrganizationCredentialCountRequest
- func (*OrganizationCredentialCountRequest) Descriptor() ([]byte, []int)
- func (m *OrganizationCredentialCountRequest) GetOwner() string
- func (*OrganizationCredentialCountRequest) ProtoMessage()
- func (m *OrganizationCredentialCountRequest) Reset()
- func (m *OrganizationCredentialCountRequest) String() string
- type OrganizationCredentialCountResponse
- func (*OrganizationCredentialCountResponse) Descriptor() ([]byte, []int)
- func (m *OrganizationCredentialCountResponse) GetCredentialCounts() []*RepositoryCredentialCount
- func (*OrganizationCredentialCountResponse) ProtoMessage()
- func (m *OrganizationCredentialCountResponse) Reset()
- func (m *OrganizationCredentialCountResponse) String() string
- type RCCByName
- type Repository
- type RepositoryCredentialCount
- func (*RepositoryCredentialCount) Descriptor() ([]byte, []int)
- func (m *RepositoryCredentialCount) GetCount() int64
- func (m *RepositoryCredentialCount) GetName() string
- func (m *RepositoryCredentialCount) GetOwner() string
- func (*RepositoryCredentialCount) ProtoMessage()
- func (m *RepositoryCredentialCount) Reset()
- func (m *RepositoryCredentialCount) String() string
- type RepositoryCredentialCountRequest
- func (*RepositoryCredentialCountRequest) Descriptor() ([]byte, []int)
- func (m *RepositoryCredentialCountRequest) GetName() string
- func (m *RepositoryCredentialCountRequest) GetOwner() string
- func (*RepositoryCredentialCountRequest) ProtoMessage()
- func (m *RepositoryCredentialCountRequest) Reset()
- func (m *RepositoryCredentialCountRequest) String() string
- type RepositoryCredentialCountResponse
- func (*RepositoryCredentialCountResponse) Descriptor() ([]byte, []int)
- func (m *RepositoryCredentialCountResponse) GetCredentialCounts() []*BranchCredentialCount
- func (*RepositoryCredentialCountResponse) ProtoMessage()
- func (m *RepositoryCredentialCountResponse) Reset()
- func (m *RepositoryCredentialCountResponse) String() string
- type RevokClient
- type RevokServer
- type Revok_SearchClient
- type Revok_SearchServer
- type SearchQuery
- type SearchResult
- type SourceLocation
- func (*SourceLocation) Descriptor() ([]byte, []int)
- func (m *SourceLocation) GetLength() uint32
- func (m *SourceLocation) GetLineNumber() uint32
- func (m *SourceLocation) GetLocation() uint32
- func (m *SourceLocation) GetPath() string
- func (m *SourceLocation) GetRepository() *Repository
- func (m *SourceLocation) GetRevision() string
- func (*SourceLocation) ProtoMessage()
- func (m *SourceLocation) Reset()
- func (m *SourceLocation) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRevokServer ¶
func RegisterRevokServer(s *grpc.Server, srv RevokServer)
Types ¶
type BCCByName ¶
type BCCByName []*BranchCredentialCount
type BranchCredentialCount ¶
type BranchCredentialCount struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"` }
func (*BranchCredentialCount) Descriptor ¶
func (*BranchCredentialCount) Descriptor() ([]byte, []int)
func (*BranchCredentialCount) GetCount ¶
func (m *BranchCredentialCount) GetCount() int64
func (*BranchCredentialCount) GetName ¶
func (m *BranchCredentialCount) GetName() string
func (*BranchCredentialCount) ProtoMessage ¶
func (*BranchCredentialCount) ProtoMessage()
func (*BranchCredentialCount) Reset ¶
func (m *BranchCredentialCount) Reset()
func (*BranchCredentialCount) String ¶
func (m *BranchCredentialCount) String() string
type CredentialCountRequest ¶
type CredentialCountRequest struct { }
func (*CredentialCountRequest) Descriptor ¶
func (*CredentialCountRequest) Descriptor() ([]byte, []int)
func (*CredentialCountRequest) ProtoMessage ¶
func (*CredentialCountRequest) ProtoMessage()
func (*CredentialCountRequest) Reset ¶
func (m *CredentialCountRequest) Reset()
func (*CredentialCountRequest) String ¶
func (m *CredentialCountRequest) String() string
type CredentialCountResponse ¶
type CredentialCountResponse struct {
CredentialCounts []*OrganizationCredentialCount `protobuf:"bytes,1,rep,name=credentialCounts" json:"credentialCounts,omitempty"`
}
func (*CredentialCountResponse) Descriptor ¶
func (*CredentialCountResponse) Descriptor() ([]byte, []int)
func (*CredentialCountResponse) GetCredentialCounts ¶
func (m *CredentialCountResponse) GetCredentialCounts() []*OrganizationCredentialCount
func (*CredentialCountResponse) ProtoMessage ¶
func (*CredentialCountResponse) ProtoMessage()
func (*CredentialCountResponse) Reset ¶
func (m *CredentialCountResponse) Reset()
func (*CredentialCountResponse) String ¶
func (m *CredentialCountResponse) String() string
type OrganizationCredentialCount ¶
type OrganizationCredentialCount struct { Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"` }
func (*OrganizationCredentialCount) Descriptor ¶
func (*OrganizationCredentialCount) Descriptor() ([]byte, []int)
func (*OrganizationCredentialCount) GetCount ¶
func (m *OrganizationCredentialCount) GetCount() int64
func (*OrganizationCredentialCount) GetOwner ¶
func (m *OrganizationCredentialCount) GetOwner() string
func (*OrganizationCredentialCount) ProtoMessage ¶
func (*OrganizationCredentialCount) ProtoMessage()
func (*OrganizationCredentialCount) Reset ¶
func (m *OrganizationCredentialCount) Reset()
func (*OrganizationCredentialCount) String ¶
func (m *OrganizationCredentialCount) String() string
type OrganizationCredentialCountRequest ¶
type OrganizationCredentialCountRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"`
}
func (*OrganizationCredentialCountRequest) Descriptor ¶
func (*OrganizationCredentialCountRequest) Descriptor() ([]byte, []int)
func (*OrganizationCredentialCountRequest) GetOwner ¶
func (m *OrganizationCredentialCountRequest) GetOwner() string
func (*OrganizationCredentialCountRequest) ProtoMessage ¶
func (*OrganizationCredentialCountRequest) ProtoMessage()
func (*OrganizationCredentialCountRequest) Reset ¶
func (m *OrganizationCredentialCountRequest) Reset()
func (*OrganizationCredentialCountRequest) String ¶
func (m *OrganizationCredentialCountRequest) String() string
type OrganizationCredentialCountResponse ¶
type OrganizationCredentialCountResponse struct {
CredentialCounts []*RepositoryCredentialCount `protobuf:"bytes,1,rep,name=credentialCounts" json:"credentialCounts,omitempty"`
}
func (*OrganizationCredentialCountResponse) Descriptor ¶
func (*OrganizationCredentialCountResponse) Descriptor() ([]byte, []int)
func (*OrganizationCredentialCountResponse) GetCredentialCounts ¶
func (m *OrganizationCredentialCountResponse) GetCredentialCounts() []*RepositoryCredentialCount
func (*OrganizationCredentialCountResponse) ProtoMessage ¶
func (*OrganizationCredentialCountResponse) ProtoMessage()
func (*OrganizationCredentialCountResponse) Reset ¶
func (m *OrganizationCredentialCountResponse) Reset()
func (*OrganizationCredentialCountResponse) String ¶
func (m *OrganizationCredentialCountResponse) String() string
type RCCByName ¶
type RCCByName []*RepositoryCredentialCount
type Repository ¶
type Repository struct { Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` }
func (*Repository) Descriptor ¶
func (*Repository) Descriptor() ([]byte, []int)
func (*Repository) GetName ¶
func (m *Repository) GetName() string
func (*Repository) GetOwner ¶
func (m *Repository) GetOwner() string
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) Reset ¶
func (m *Repository) Reset()
func (*Repository) String ¶
func (m *Repository) String() string
type RepositoryCredentialCount ¶
type RepositoryCredentialCount struct { Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Count int64 `protobuf:"varint,3,opt,name=count" json:"count,omitempty"` }
func (*RepositoryCredentialCount) Descriptor ¶
func (*RepositoryCredentialCount) Descriptor() ([]byte, []int)
func (*RepositoryCredentialCount) GetCount ¶
func (m *RepositoryCredentialCount) GetCount() int64
func (*RepositoryCredentialCount) GetName ¶
func (m *RepositoryCredentialCount) GetName() string
func (*RepositoryCredentialCount) GetOwner ¶
func (m *RepositoryCredentialCount) GetOwner() string
func (*RepositoryCredentialCount) ProtoMessage ¶
func (*RepositoryCredentialCount) ProtoMessage()
func (*RepositoryCredentialCount) Reset ¶
func (m *RepositoryCredentialCount) Reset()
func (*RepositoryCredentialCount) String ¶
func (m *RepositoryCredentialCount) String() string
type RepositoryCredentialCountRequest ¶
type RepositoryCredentialCountRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` }
func (*RepositoryCredentialCountRequest) Descriptor ¶
func (*RepositoryCredentialCountRequest) Descriptor() ([]byte, []int)
func (*RepositoryCredentialCountRequest) GetName ¶
func (m *RepositoryCredentialCountRequest) GetName() string
func (*RepositoryCredentialCountRequest) GetOwner ¶
func (m *RepositoryCredentialCountRequest) GetOwner() string
func (*RepositoryCredentialCountRequest) ProtoMessage ¶
func (*RepositoryCredentialCountRequest) ProtoMessage()
func (*RepositoryCredentialCountRequest) Reset ¶
func (m *RepositoryCredentialCountRequest) Reset()
func (*RepositoryCredentialCountRequest) String ¶
func (m *RepositoryCredentialCountRequest) String() string
type RepositoryCredentialCountResponse ¶
type RepositoryCredentialCountResponse struct {
CredentialCounts []*BranchCredentialCount `protobuf:"bytes,1,rep,name=credentialCounts" json:"credentialCounts,omitempty"`
}
func (*RepositoryCredentialCountResponse) Descriptor ¶
func (*RepositoryCredentialCountResponse) Descriptor() ([]byte, []int)
func (*RepositoryCredentialCountResponse) GetCredentialCounts ¶
func (m *RepositoryCredentialCountResponse) GetCredentialCounts() []*BranchCredentialCount
func (*RepositoryCredentialCountResponse) ProtoMessage ¶
func (*RepositoryCredentialCountResponse) ProtoMessage()
func (*RepositoryCredentialCountResponse) Reset ¶
func (m *RepositoryCredentialCountResponse) Reset()
func (*RepositoryCredentialCountResponse) String ¶
func (m *RepositoryCredentialCountResponse) String() string
type RevokClient ¶
type RevokClient interface { GetCredentialCounts(ctx context.Context, in *CredentialCountRequest, opts ...grpc.CallOption) (*CredentialCountResponse, error) GetOrganizationCredentialCounts(ctx context.Context, in *OrganizationCredentialCountRequest, opts ...grpc.CallOption) (*OrganizationCredentialCountResponse, error) GetRepositoryCredentialCounts(ctx context.Context, in *RepositoryCredentialCountRequest, opts ...grpc.CallOption) (*RepositoryCredentialCountResponse, error) Search(ctx context.Context, in *SearchQuery, opts ...grpc.CallOption) (Revok_SearchClient, error) }
func NewRevokClient ¶
func NewRevokClient(cc *grpc.ClientConn) RevokClient
type RevokServer ¶
type RevokServer interface { GetCredentialCounts(context.Context, *CredentialCountRequest) (*CredentialCountResponse, error) GetOrganizationCredentialCounts(context.Context, *OrganizationCredentialCountRequest) (*OrganizationCredentialCountResponse, error) GetRepositoryCredentialCounts(context.Context, *RepositoryCredentialCountRequest) (*RepositoryCredentialCountResponse, error) Search(*SearchQuery, Revok_SearchServer) error }
type Revok_SearchClient ¶
type Revok_SearchClient interface { Recv() (*SearchResult, error) grpc.ClientStream }
type Revok_SearchServer ¶
type Revok_SearchServer interface { Send(*SearchResult) error grpc.ServerStream }
type SearchQuery ¶
type SearchQuery struct {
Regex string `protobuf:"bytes,1,opt,name=regex" json:"regex,omitempty"`
}
func (*SearchQuery) Descriptor ¶
func (*SearchQuery) Descriptor() ([]byte, []int)
func (*SearchQuery) GetRegex ¶
func (m *SearchQuery) GetRegex() string
func (*SearchQuery) ProtoMessage ¶
func (*SearchQuery) ProtoMessage()
func (*SearchQuery) Reset ¶
func (m *SearchQuery) Reset()
func (*SearchQuery) String ¶
func (m *SearchQuery) String() string
type SearchResult ¶
type SearchResult struct { Location *SourceLocation `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` }
func (*SearchResult) Descriptor ¶
func (*SearchResult) Descriptor() ([]byte, []int)
func (*SearchResult) GetContent ¶
func (m *SearchResult) GetContent() []byte
func (*SearchResult) GetLocation ¶
func (m *SearchResult) GetLocation() *SourceLocation
func (*SearchResult) ProtoMessage ¶
func (*SearchResult) ProtoMessage()
func (*SearchResult) Reset ¶
func (m *SearchResult) Reset()
func (*SearchResult) String ¶
func (m *SearchResult) String() string
type SourceLocation ¶
type SourceLocation struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Revision string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` LineNumber uint32 `protobuf:"varint,4,opt,name=line_number,json=lineNumber" json:"line_number,omitempty"` Location uint32 `protobuf:"varint,5,opt,name=location" json:"location,omitempty"` Length uint32 `protobuf:"varint,6,opt,name=length" json:"length,omitempty"` }
func (*SourceLocation) Descriptor ¶
func (*SourceLocation) Descriptor() ([]byte, []int)
func (*SourceLocation) GetLength ¶
func (m *SourceLocation) GetLength() uint32
func (*SourceLocation) GetLineNumber ¶
func (m *SourceLocation) GetLineNumber() uint32
func (*SourceLocation) GetLocation ¶
func (m *SourceLocation) GetLocation() uint32
func (*SourceLocation) GetPath ¶
func (m *SourceLocation) GetPath() string
func (*SourceLocation) GetRepository ¶
func (m *SourceLocation) GetRepository() *Repository
func (*SourceLocation) GetRevision ¶
func (m *SourceLocation) GetRevision() string
func (*SourceLocation) ProtoMessage ¶
func (*SourceLocation) ProtoMessage()
func (*SourceLocation) Reset ¶
func (m *SourceLocation) Reset()
func (*SourceLocation) String ¶
func (m *SourceLocation) String() string
Click to show internal directories.
Click to hide internal directories.