chart

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 19 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 {
	// contains filtered or unexported fields
}

Chart implements the OCI interface for Chart API objects. API spec values are stored into the Repo, Name, and Version fields.

func NewChart

func NewChart(name string, opts *action.ChartPathOptions) (*Chart, error)

NewChart is a helper method that returns NewLocalChart or NewRemoteChart depending on v1alpha1.Chart contents

func (*Chart) Layers

func (h *Chart) Layers() ([]gv1.Layer, error)

func (*Chart) Load

func (h *Chart) Load() (*chart.Chart, error)

func (*Chart) Manifest

func (h *Chart) Manifest() (*gv1.Manifest, error)

func (*Chart) MediaType

func (h *Chart) MediaType() string

func (*Chart) RawChartData

func (h *Chart) RawChartData() ([]byte, error)

func (*Chart) RawConfig

func (h *Chart) RawConfig() ([]byte, error)

Jump to

Keyboard shortcuts

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