ownership

package
v0.110.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportOwnershipRows added in v0.23.1

func ImportOwnershipRows(ctx context.Context, rows []ImportOwnershipRow, sqlDB *sql.DB) error

func SetBulkOwnership added in v0.18.0

func SetBulkOwnership(ctx context.Context, params SetBulkOwnershipParams, sqlDB *sql.DB) error

Types

type DistinctProjectsQuerier added in v0.18.0

type DistinctProjectsQuerier interface {
	QueryDistinctProjects(ctx context.Context, db *sql.DB, params queries.DistinctProjectParams) ([]queries.DistinctProject, error)
}

type ImportOwnershipRow added in v0.23.1

type ImportOwnershipRow struct {
	Platform     string
	Organisation string
	Repo         string

	OwnerName string
	Notes     string
}

type Ownership added in v0.15.1

type Ownership struct{}

func (*Ownership) CreateTables added in v0.15.1

func (*Ownership) CreateTables(ctx context.Context, sqlDB *sql.DB) (err error)

func (*Ownership) Name added in v0.100.0

func (*Ownership) Name() string

type SetBulkOwnershipParams added in v0.18.0

type SetBulkOwnershipParams struct {
	// Platform can be wildcarded such as "*", "renovate-*" or "*tanna*"
	Platform string
	// Organisation can be wildcarded such as "*", "renovate-*" or "*tanna*"
	Organisation string
	// Repo can be wildcarded such as "*", "renovate-*" or "*tanna*"
	Repo string

	OwnerName string
	Notes     string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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