action

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diff added in v1.18.0

type Diff struct {
	Registry image.Registry

	OldRefs []string
	NewRefs []string

	Logger *logrus.Entry
}

func (Diff) Run added in v1.18.0

type ErrNotAllowed added in v1.18.0

type ErrNotAllowed struct{}

func (*ErrNotAllowed) Error added in v1.18.0

func (_ *ErrNotAllowed) Error() string

type GenerateDockerfile added in v1.18.0

type GenerateDockerfile struct {
	BaseImage   string
	IndexDir    string
	ExtraLabels map[string]string
	Writer      io.Writer
}

func (GenerateDockerfile) Run added in v1.18.0

func (i GenerateDockerfile) Run() error

type Init

type Init struct {
	Package           string
	DefaultChannel    string
	DescriptionReader io.Reader
	IconReader        io.Reader
}

func (Init) Run

func (i Init) Run() (*declcfg.Package, error)

type ListBundles added in v1.18.0

type ListBundles struct {
	IndexReference string
	PackageName    string
}

func (*ListBundles) Run added in v1.18.0

type ListBundlesResult added in v1.18.0

type ListBundlesResult struct {
	Bundles []model.Bundle
}

func (*ListBundlesResult) WriteColumns added in v1.18.0

func (r *ListBundlesResult) WriteColumns(w io.Writer) error

type ListChannels added in v1.18.0

type ListChannels struct {
	IndexReference string
	PackageName    string
}

func (*ListChannels) Run added in v1.18.0

type ListChannelsResult added in v1.18.0

type ListChannelsResult struct {
	Channels []model.Channel
}

func (*ListChannelsResult) WriteColumns added in v1.18.0

func (r *ListChannelsResult) WriteColumns(w io.Writer) error

type ListPackages added in v1.18.0

type ListPackages struct {
	IndexReference string
}

func (*ListPackages) Run added in v1.18.0

type ListPackagesResult added in v1.18.0

type ListPackagesResult struct {
	Packages []model.Package
}

func (*ListPackagesResult) WriteColumns added in v1.18.0

func (r *ListPackagesResult) WriteColumns(w io.Writer) error

type RefType added in v1.18.0

type RefType uint
const (
	RefBundleImage RefType = 1 << iota
	RefSqliteImage
	RefSqliteFile
	RefDCImage
	RefDCDir

	RefAll = 0
)

func (RefType) Allowed added in v1.18.0

func (r RefType) Allowed(refType RefType) bool

type Render

type Render struct {
	Refs           []string
	Registry       image.Registry
	AllowedRefMask RefType
}

func (Render) Run

Jump to

Keyboard shortcuts

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