pack

package
v0.0.0-...-e75e7d7 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(ctx context.Context, path string, m helm.ChartManager, client *regclient.RegClient, p helm.Package, images ...ProtoImage) error

Types

type Proto

type Proto struct {
	Charts ProtoCharts `json:"charts,omitempty"`

	Manifests map[string]string `json:"manifests,omitempty"`
}

func Import

func Import(ctx context.Context, path string, client *regclient.RegClient, registry string) (Proto, *helm.Package, error)

type ProtoChart

type ProtoChart struct {
	Version string `json:"version"`

	Images ProtoImages `json:"images,omitempty"`
}

type ProtoCharts

type ProtoCharts map[string]ProtoChart

type ProtoImage

type ProtoImage struct {
	Registry *string `json:"registry,omitempty"`
	Image    string  `json:"image"`
	Tag      string  `json:"tag"`
	Kind     string  `json:"kind,omitempty"`
}

func (ProtoImage) GetImage

func (p ProtoImage) GetImage() string

func (ProtoImage) GetShortImage

func (p ProtoImage) GetShortImage() string

func (ProtoImage) IsTest

func (p ProtoImage) IsTest() bool

type ProtoImages

type ProtoImages map[string]ProtoImage

Jump to

Keyboard shortcuts

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