transfer

package
v0.0.0-...-e99cc0b Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a new repository transfer service.

Types

type Transferer

type Transferer struct {
	Repos core.RepositoryStore
	Perms core.PermStore
}

Transferer handles transfering repository ownership from one user to another user account.

func (*Transferer) Transfer

func (t *Transferer) Transfer(ctx context.Context, user *core.User) error

Transfer transfers all repositories owned by the specified user to an alternate account with sufficient admin permissions.

Jump to

Keyboard shortcuts

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