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 ¶
- func RegisterRevokServer(s *grpc.Server, srv RevokServer)
- type BCCByName
- type BranchCredentialCount
- type CredentialCountRequest
- type CredentialCountResponse
- type OrganizationCredentialCount
- type OrganizationCredentialCountRequest
- 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 RepositoryCredentialCount
- type RepositoryCredentialCountRequest
- 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
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) 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 (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 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 (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) }
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) }
Click to show internal directories.
Click to hide internal directories.