wrapping

package
v0.4.3 Latest Latest
Warning

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

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

Documentation

Overview

Package wrapping defines methods to handle Helm chart wraps

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lockable

type Lockable interface {
	LockFilePath() string
	ImagesDir() string
	GetImagesLock() (*imagelock.ImagesLock, error)
}

Lockable defines the interface to support getting images locked

type Wrap

type Wrap interface {
	Lockable
	VerifyLock(...imagelock.Option) error

	Chart() *chartutils.Chart
	RootDir() string
	ChartDir() string
	ImageArtifactsDir() string
}

Wrap defines the interface to implement a Helm chart wrap

func Create

func Create(chartSrc string, destDir string, opts ...chartutils.Option) (Wrap, error)

Create receives a path to a source Helm chart and a destination directory where to wrap it and returns a Wrap

func Load

func Load(dir string, opts ...chartutils.Option) (Wrap, error)

Load loads a directory containing a wrapped chart and returns a Wrap

Jump to

Keyboard shortcuts

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