hoard

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hoard

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

func New

func New(registry *service.Registry) (*Hoard, error)

func (*Hoard) MirrorProfile

func (h *Hoard) MirrorProfile(ctx context.Context, profileUrl *url.URL, opts MirrorProfileOptions) error

func (*Hoard) MirrorRepo

func (h *Hoard) MirrorRepo(ctx context.Context, repoUrl *url.URL, opts MirrorRepoOptions) error

type MigrationOptions

type MigrationOptions struct {
	Force bool
}

type MirrorProfileOptions

type MirrorProfileOptions struct {
	MigrationOptions

	OwnerName string
}

type MirrorRepoOptions

type MirrorRepoOptions struct {
	MigrationOptions

	OwnerName      string
	RepositoryName string
}

Jump to

Keyboard shortcuts

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