datasource

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepsDevAPIClient

type DepsDevAPIClient struct {
	pb.InsightsClient
	// contains filtered or unexported fields
}

DepsDevAPIClient is a wrapper for InsightsClient that caches requests.

func NewDepsDevAPIClient

func NewDepsDevAPIClient(addr string) (*DepsDevAPIClient, error)

func (*DepsDevAPIClient) GetPackage

func (c *DepsDevAPIClient) GetPackage(ctx context.Context, in *pb.GetPackageRequest, opts ...grpc.CallOption) (*pb.Package, error)

func (*DepsDevAPIClient) GetRequirements

func (c *DepsDevAPIClient) GetRequirements(ctx context.Context, in *pb.GetRequirementsRequest, opts ...grpc.CallOption) (*pb.Requirements, error)

func (*DepsDevAPIClient) GetVersion

func (c *DepsDevAPIClient) GetVersion(ctx context.Context, in *pb.GetVersionRequest, opts ...grpc.CallOption) (*pb.Version, error)

func (*DepsDevAPIClient) GobDecode

func (c *DepsDevAPIClient) GobDecode(b []byte) error

func (*DepsDevAPIClient) GobEncode

func (c *DepsDevAPIClient) GobEncode() ([]byte, error)

Jump to

Keyboard shortcuts

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