revokpb

package
v70.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRevokServer

func RegisterRevokServer(s *grpc.Server, srv RevokServer)

Types

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 (*OrganizationCredentialCountRequest) ProtoMessage

func (*OrganizationCredentialCountRequest) ProtoMessage()

func (*OrganizationCredentialCountRequest) Reset

func (*OrganizationCredentialCountRequest) 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 (*OrganizationCredentialCountResponse) ProtoMessage

func (*OrganizationCredentialCountResponse) ProtoMessage()

func (*OrganizationCredentialCountResponse) Reset

func (*OrganizationCredentialCountResponse) 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 (*RepositoryCredentialCountRequest) GetOwner

func (*RepositoryCredentialCountRequest) ProtoMessage

func (*RepositoryCredentialCountRequest) ProtoMessage()

func (*RepositoryCredentialCountRequest) Reset

func (*RepositoryCredentialCountRequest) 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 (*RepositoryCredentialCountResponse) 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 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 *redpb.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() *redpb.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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL