imagetxt

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageTxt

type ImageTxt struct {
	Ref            string
	IncludeSources map[string]bool
	ExcludeSources map[string]bool
	// contains filtered or unexported fields
}

func New

func New(ref string, opts ...Option) (*ImageTxt, error)

func (*ImageTxt) Contents

func (it *ImageTxt) Contents() (map[string]artifact.OCI, error)

type Option

type Option interface {
	Apply(*ImageTxt) error
}

func WithExcludeSources

func WithExcludeSources(exclude ...string) Option

func WithIncludeSources

func WithIncludeSources(include ...string) Option

Jump to

Keyboard shortcuts

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