db

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateTablesQuery string

Functions

This section is empty.

Types

type DBTX

type DBTX interface {
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
	PrepareContext(context.Context, string) (*sql.Stmt, error)
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}

type Owner

type Owner struct {
	Platform     string
	Organisation string
	Repo         string
	Owner        string
	Notes        sql.NullString
	UpdatedAt    string
}

type Queries

type Queries struct {
	// contains filtered or unexported fields
}

func New

func New(db DBTX) *Queries

func (*Queries) RetrieveReposDependentOn

func (q *Queries) RetrieveReposDependentOn(ctx context.Context, arg RetrieveReposDependentOnParams) ([]RetrieveReposDependentOnRow, error)

func (*Queries) WithTx

func (q *Queries) WithTx(tx *sql.Tx) *Queries

type Renovate

type Renovate struct {
	Platform        string
	Organisation    string
	Repo            string
	PackageName     string
	Version         string
	CurrentVersion  sql.NullString
	PackageManager  string
	PackageFilePath string
	Datasource      string
	DepTypes        string
}

type RenovateUpdate

type RenovateUpdate struct {
	Platform        string
	Organisation    string
	Repo            string
	PackageName     string
	Version         string
	CurrentVersion  sql.NullString
	PackageManager  string
	PackageFilePath string
	Datasource      string
	NewVersion      string
	UpdateType      string
}

type RetrieveReposDependentOnForCurrentVersionParams

type RetrieveReposDependentOnForCurrentVersionParams struct {
	PackageName    string
	PackageManager string
	CurrentVersion sql.NullString
}

type RetrieveReposDependentOnForCurrentVersionRow

type RetrieveReposDependentOnForCurrentVersionRow struct {
	Platform        string
	Organisation    string
	Repo            string
	DepTypes        string
	PackageFilePath string
	Owner           sql.NullString
}

type RetrieveReposDependentOnForVersionParams

type RetrieveReposDependentOnForVersionParams struct {
	PackageName    string
	PackageManager string
	Version        sql.NullString
}

type RetrieveReposDependentOnForVersionRow

type RetrieveReposDependentOnForVersionRow struct {
	Platform        string
	Organisation    string
	Repo            string
	DepTypes        string
	PackageFilePath string
	Owner           sql.NullString
}

type RetrieveReposDependentOnParams

type RetrieveReposDependentOnParams struct {
	PackageName    string
	PackageManager string
}

type RetrieveReposDependentOnRow

type RetrieveReposDependentOnRow struct {
	Platform        string
	Organisation    string
	Repo            string
	DepTypes        string
	PackageFilePath string
	Owner           sql.NullString
}

type Sbom

type Sbom struct {
	Platform       string
	Organisation   string
	Repo           string
	PackageName    string
	Version        sql.NullString
	CurrentVersion sql.NullString
	PackageType    string
}

Jump to

Keyboard shortcuts

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