Documentation ¶
Index ¶
- type TrivyJavaDBServer
- func (t *TrivyJavaDBServer) SelectIndexByArtifactIDAndGroupID(ctx context.Context, req *serverpb.SelectIndexByArtifactIDAndGroupIDRequest) (*serverpb.SelectIndexByArtifactIDAndGroupIDResponse, error)
- func (t *TrivyJavaDBServer) SelectIndexBySha1(ctx context.Context, req *serverpb.SelectIndexBySha1Request) (*serverpb.SelectIndexBySha1Response, error)
- func (t *TrivyJavaDBServer) SelectIndexesByArtifactIDAndFileType(ctx context.Context, req *serverpb.SelectIndexesByArtifactIDAndFileTypeRequest) (*serverpb.SelectIndexesByArtifactIDAndFileTypeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrivyJavaDBServer ¶
type TrivyJavaDBServer struct { serverpb.UnimplementedTrivyJavaDBServer // contains filtered or unexported fields }
func NewTrivyJavaDBServer ¶
func NewTrivyJavaDBServer(dbDir string) (*TrivyJavaDBServer, error)
func (*TrivyJavaDBServer) SelectIndexByArtifactIDAndGroupID ¶
func (t *TrivyJavaDBServer) SelectIndexByArtifactIDAndGroupID(ctx context.Context, req *serverpb.SelectIndexByArtifactIDAndGroupIDRequest) (*serverpb.SelectIndexByArtifactIDAndGroupIDResponse, error)
func (*TrivyJavaDBServer) SelectIndexBySha1 ¶
func (t *TrivyJavaDBServer) SelectIndexBySha1(ctx context.Context, req *serverpb.SelectIndexBySha1Request) (*serverpb.SelectIndexBySha1Response, error)
func (*TrivyJavaDBServer) SelectIndexesByArtifactIDAndFileType ¶
func (t *TrivyJavaDBServer) SelectIndexesByArtifactIDAndFileType(ctx context.Context, req *serverpb.SelectIndexesByArtifactIDAndFileTypeRequest) (*serverpb.SelectIndexesByArtifactIDAndFileTypeResponse, error)
Click to show internal directories.
Click to hide internal directories.