ownership

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 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) AnonymiseData added in v0.15.1

func (*Ownership) AnonymiseData(ctx context.Context, sqlDB *sql.DB, orgs []string) (err error)

func (*Ownership) CreateTables added in v0.15.1

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

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