image

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, meta config.Meta, cli config.Cli, platform specs.Platform) (*extractor.Client, error)

New creates new image extractor instance

Types

type Client

type Client struct {
	*extractor.Client
	// contains filtered or unexported fields
}

Client represents an active image extractor object

func (*Client) Extract

func (c *Client) Extract() error

Extract extracts a registry image

func (*Client) Type

func (c *Client) Type() string

Type returns the extractor type

type Source

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

func NewSource

func NewSource(name string) *Source

func (*Source) HasScheme

func (s *Source) HasScheme() bool

func (*Source) Reference

func (s *Source) Reference() (types.ImageReference, error)

func (*Source) Scheme

func (s *Source) Scheme() string

func (*Source) String

func (s *Source) String() string

Jump to

Keyboard shortcuts

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