revokpb

package
v26.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: Apache-2.0 Imports: 5 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

Index

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

func (BCCByName) Len

func (a BCCByName) Len() int

func (BCCByName) Less

func (a BCCByName) Less(i, j int) bool

func (BCCByName) Swap

func (a BCCByName) Swap(i, j int)

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) 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) 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) 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 RCCByName

type RCCByName []*RepositoryCredentialCount

func (RCCByName) Len

func (a RCCByName) Len() int

func (RCCByName) Less

func (a RCCByName) Less(i, j int) bool

func (RCCByName) Swap

func (a RCCByName) Swap(i, j int)

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

func NewRevokClient

func NewRevokClient(cc *grpc.ClientConn) RevokClient

Jump to

Keyboard shortcuts

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