NewDiscoverService creates a new discover service
(conn *grpc.ClientConn)
| 29 | |
| 30 | // NewDiscoverService creates a new discover service |
| 31 | func NewDiscoverService(conn *grpc.ClientConn) *DiscoverService { |
| 32 | return &DiscoverService{conn: conn} |
| 33 | } |
| 34 | |
| 35 | // Discover calls the DiscoverPrivate gRPC endpoint to get artifact graph data |
| 36 | func (s *DiscoverService) Discover(ctx context.Context, digest, kind string) (*v1.ReferrerServiceDiscoverPrivateResponse, error) { |
no outgoing calls
no test coverage detected