chart

package
Version: v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash added in v0.3.1

func Hash(c *helmChart.Chart) uint64

func Mock

func Mock(opts *MockChartOptions) *chart.Chart

Mock creates a mock chart object based on options set by MockChartOptions. This function should typically not be used outside of testing.

Types

type Dependency

type Dependency struct {
	*helmChart.Dependency
	// hypper specific
	IsOptional bool `json:"-"`
}

Dependency is a composite type of Helm's chart.Dependency

func GetSharedDeps

func GetSharedDeps(c *helmChart.Chart, logger log.Logger) ([]*Dependency, error)

GetSharedDeps returns a *[] of all shared and optional dependencies in a chart, read from annotations.

type MockChartOptions

type MockChartOptions struct {
	Name    string
	Version string
}

MockChartOptions allows for user-configurable options on mock chart objects.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL