Documentation ¶
Index ¶
- type SearchServer
- type Server
- func (s *Server) GetCredentialCounts(ctx context.Context, in *revokpb.CredentialCountRequest) (*revokpb.CredentialCountResponse, error)
- func (s *Server) GetOrganizationCredentialCounts(ctx context.Context, in *revokpb.OrganizationCredentialCountRequest) (*revokpb.OrganizationCredentialCountResponse, error)
- func (s *Server) GetRepositoryCredentialCounts(ctx context.Context, in *revokpb.RepositoryCredentialCountRequest) (*revokpb.RepositoryCredentialCountResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchServer ¶
type SearchServer struct {
// contains filtered or unexported fields
}
func NewSearchServer ¶
func NewSearchServer( logger lager.Logger, searcher search.Searcher, blobSearcher search.BlobSearcher, ) *SearchServer
func (*SearchServer) BoshBlobs ¶
func (s *SearchServer) BoshBlobs(ctx context.Context, request *revokpb.BoshBlobsRequest) (*revokpb.BoshBlobsResponse, error)
func (*SearchServer) Search ¶
func (s *SearchServer) Search(query *revokpb.SearchQuery, stream revokpb.RevokSearch_SearchServer) error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( logger lager.Logger, repositoryRepository db.RepositoryRepository, branchRepository db.BranchRepository, ) *Server
func (*Server) GetCredentialCounts ¶
func (s *Server) GetCredentialCounts( ctx context.Context, in *revokpb.CredentialCountRequest, ) (*revokpb.CredentialCountResponse, error)
func (*Server) GetOrganizationCredentialCounts ¶
func (s *Server) GetOrganizationCredentialCounts( ctx context.Context, in *revokpb.OrganizationCredentialCountRequest, ) (*revokpb.OrganizationCredentialCountResponse, error)
func (*Server) GetRepositoryCredentialCounts ¶
func (s *Server) GetRepositoryCredentialCounts( ctx context.Context, in *revokpb.RepositoryCredentialCountRequest, ) (*revokpb.RepositoryCredentialCountResponse, error)
Click to show internal directories.
Click to hide internal directories.