copy

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Copier

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

func NewCopier

func NewCopier(o *CopierOption) *Copier

func (*Copier) Copy

func (c *Copier) Copy(ctx context.Context) ([]byte, error)

type CopierOption

type CopierOption struct {
	Options      *copyv5.Options
	RetryOptions *retry.Options

	SourceRef typesv5.ImageReference
	DestRef   typesv5.ImageReference

	Policy *signaturev5.Policy
}

Jump to

Keyboard shortcuts

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