revokpb

package
v89.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 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
BoshBlobsRequest
BoshBlob
BoshBlobsResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRevokAPIServer

func RegisterRevokAPIServer(s *grpc.Server, srv RevokAPIServer)

func RegisterRevokSearchServer

func RegisterRevokSearchServer(s *grpc.Server, srv RevokSearchServer)

Types

type BoshBlob

type BoshBlob struct {
	Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	Sha  string `protobuf:"bytes,2,opt,name=sha" json:"sha,omitempty"`
}

func (*BoshBlob) Descriptor

func (*BoshBlob) Descriptor() ([]byte, []int)

func (*BoshBlob) GetPath

func (m *BoshBlob) GetPath() string

func (*BoshBlob) GetSha

func (m *BoshBlob) GetSha() string

func (*BoshBlob) ProtoMessage

func (*BoshBlob) ProtoMessage()

func (*BoshBlob) Reset

func (m *BoshBlob) Reset()

func (*BoshBlob) String

func (m *BoshBlob) String() string

type BoshBlobsRequest

type BoshBlobsRequest struct {
	Repository *redpb.Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}

func (*BoshBlobsRequest) Descriptor

func (*BoshBlobsRequest) Descriptor() ([]byte, []int)

func (*BoshBlobsRequest) GetRepository

func (m *BoshBlobsRequest) GetRepository() *redpb.Repository

func (*BoshBlobsRequest) ProtoMessage

func (*BoshBlobsRequest) ProtoMessage()

func (*BoshBlobsRequest) Reset

func (m *BoshBlobsRequest) Reset()

func (*BoshBlobsRequest) String

func (m *BoshBlobsRequest) String() string

type BoshBlobsResponse

type BoshBlobsResponse struct {
	Blobs []*BoshBlob `protobuf:"bytes,1,rep,name=blobs" json:"blobs,omitempty"`
}

func (*BoshBlobsResponse) Descriptor

func (*BoshBlobsResponse) Descriptor() ([]byte, []int)

func (*BoshBlobsResponse) GetBlobs

func (m *BoshBlobsResponse) GetBlobs() []*BoshBlob

func (*BoshBlobsResponse) ProtoMessage

func (*BoshBlobsResponse) ProtoMessage()

func (*BoshBlobsResponse) Reset

func (m *BoshBlobsResponse) Reset()

func (*BoshBlobsResponse) String

func (m *BoshBlobsResponse) String() string

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"`
	Private bool   `protobuf:"varint,4,opt,name=private" json:"private,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) GetPrivate

func (m *RepositoryCredentialCount) GetPrivate() bool

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"`
	Private          bool                     `protobuf:"varint,2,opt,name=private" json:"private,omitempty"`
}

func (*RepositoryCredentialCountResponse) Descriptor

func (*RepositoryCredentialCountResponse) Descriptor() ([]byte, []int)

func (*RepositoryCredentialCountResponse) GetCredentialCounts

func (m *RepositoryCredentialCountResponse) GetCredentialCounts() []*BranchCredentialCount

func (*RepositoryCredentialCountResponse) GetPrivate

func (m *RepositoryCredentialCountResponse) GetPrivate() bool

func (*RepositoryCredentialCountResponse) ProtoMessage

func (*RepositoryCredentialCountResponse) ProtoMessage()

func (*RepositoryCredentialCountResponse) Reset

func (*RepositoryCredentialCountResponse) String

type RevokAPIClient

type RevokAPIClient 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)
}

func NewRevokAPIClient

func NewRevokAPIClient(cc *grpc.ClientConn) RevokAPIClient

type RevokSearchClient

type RevokSearchClient interface {
	Search(ctx context.Context, in *SearchQuery, opts ...grpc.CallOption) (RevokSearch_SearchClient, error)
	BoshBlobs(ctx context.Context, in *BoshBlobsRequest, opts ...grpc.CallOption) (*BoshBlobsResponse, error)
}

func NewRevokSearchClient

func NewRevokSearchClient(cc *grpc.ClientConn) RevokSearchClient

type RevokSearchServer

type RevokSearchServer interface {
	Search(*SearchQuery, RevokSearch_SearchServer) error
	BoshBlobs(context.Context, *BoshBlobsRequest) (*BoshBlobsResponse, error)
}

type RevokSearch_SearchClient

type RevokSearch_SearchClient interface {
	Recv() (*SearchResult, error)
	grpc.ClientStream
}

type RevokSearch_SearchServer

type RevokSearch_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