api

package
v0.0.0-...-30aadf7 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart struct {
	C *chart.Chart
}

Chart represents a loaded Helm chart.

type ChartLoader

type ChartLoader interface {
	Load(ctx context.Context, config Config) ([]*Chart, error)
	Finish(ctx context.Context, config Config) error
}

ChartLoader defines the interfaces for how to load a Helm chart

type ChartPackager

type ChartPackager interface {
	GetPackager() *ChartPackager

	// Process is to process based on the built pipeline
	Process() error
}

ChartPackager defines the interfaces that handle a ReadOnly Helm chart.

type ChartWriter

type ChartWriter interface {
	Write(ctx context.Context, chart *Chart, config Config) error
	Finish(ctx context.Context, config Config) error
}

ChartWriter defines the interfaces for how to write a Helm chart

type Config

type Config struct {
	ChartFilesIncluded bool
	Dryrun             bool

	TreeRoot *Tree
}

Config represents the configuration in the pipeline

type ImagesWriter

type ImagesWriter interface {
	Write(ctx context.Context, chart *Chart, config Config) error
	Finish(ctx context.Context, config Config) error
}

ImagesWriter defines the interfaces for how to write the images of a given Helm chart

type RemoteChart

type RemoteChart struct {
	Chart

	CaFile                string // --ca-file
	CertFile              string // --cert-file
	KeyFile               string // --key-file
	InsecureSkipTLSverify bool   // --insecure-skip-verify
	PlainHTTP             bool   // --plain-http
	Keyring               string // --keyring
	Password              string // --password
	PassCredentialsAll    bool   // --pass-credentials
	RepoURL               string // --repo
	Username              string // --username
	Verify                bool   // --verify
	Version               string // --version
	// contains filtered or unexported fields
}

RemoteChart represents a Helm chart from repot repository

type Tree

type Tree struct {
	T treeprint.Tree
}

Tree is a wrapper of treeprint.Tree for tree view display

Jump to

Keyboard shortcuts

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