Documentation ¶
Index ¶
- Constants
- func Generate(ctx context.Context, logger *slog.Logger, sqlDB *sql.DB, pw progress.Writer, ...) error
- func GenerateMissingData(ctx context.Context, logger *slog.Logger, sqlDB *sql.DB, pw progress.Writer, ...) error
- type Client
- type DependenciesQuery
- type DependenciesRelation
- type DepsDev
- type GetDependenciesResponse
- type GetVersionResponse
- type PackageVersionQuery
Constants ¶
View Source
const ( DependenciesRelationSelf = "SELF" DependenciesRelationDirect = "DIRECT" DependenciesRelationIndirect = "INDIRECT" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetDependencies ¶ added in v0.46.0
func (c *Client) GetDependencies(q DependenciesQuery) (resp GetDependenciesResponse, err error, notFound bool)
func (*Client) GetVersion ¶
func (c *Client) GetVersion(q PackageVersionQuery) (resp GetVersionResponse, err error, notFound bool)
type DependenciesQuery ¶ added in v0.46.0
type DependenciesRelation ¶ added in v0.46.0
type DependenciesRelation = string
type GetDependenciesResponse ¶ added in v0.46.0
type GetDependenciesResponse struct { Nodes []struct { VersionKey struct { System string `json:"system"` Name string `json:"name"` Version string `json:"version"` } `json:"versionKey"` Relation DependenciesRelation `json:"relation"` } `json:"nodes"` }
type GetVersionResponse ¶
type PackageVersionQuery ¶
Click to show internal directories.
Click to hide internal directories.