publish

package
v1.0.81 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPublisher

func NewPublisher(repo repo.Repo, runner shell.Runner, scratchDir string, dryRun bool) (*publisher, error)

NewPublisher is a constructor for a publisher

Types

type Publisher

type Publisher interface {
	// ChartDir returns the path where new chart packages should be copied for upload
	ChartDir() string
	// Index returns a queryable copy of th eindex that is currently in the Helm repo bucket
	Index() index.Index
	// Publish uploads all charts in the chart directory to the target Helm repo.
	// Can only be called once for a given publisher instance!
	Publish() (count int, err error)
	// Close unlocks the repo and releases all resources associated with this publisher
	Close() error
}

Publisher is a utility for publishing Helm charts to a GCS bucket-hosted Helm repository.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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