crate

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyTask

type CopyTask struct {
	Source                  string
	SourceRef               string
	SourceRegistryOpts      content.RegistryOptions
	Destination             string
	DestinationRef          string
	DestinationRegistryOpts content.RegistryOptions
}

CopyTask implements secret-container pulling process to and OCI compatible registry.

func (*CopyTask) Run

func (t *CopyTask) Run(ctx context.Context) error

Run the task.

type ExtractArchiveTask

type ExtractArchiveTask struct {
	ArchiveReader tasks.ReaderProvider
	OutputPath    string
}

ExtractArchiveTask implements archive extraction task.

func (*ExtractArchiveTask) Run

Run the task.

type PushTask

type PushTask struct {
	SpecReader   tasks.ReaderProvider
	OutputWriter tasks.WriterProvider
	ContextPath  string
	Target       string
	Ref          string
	JSONOutput   bool
	RegistryOpts content.RegistryOptions
}

PushTask implements secret-container publication process to and OCI compatible registry.

func (*PushTask) Run

func (t *PushTask) Run(ctx context.Context) error

Run the task.

Jump to

Keyboard shortcuts

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