registry

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelmCRD

type HelmCRD struct {
	APIVersion string `yaml:"apiVersion"`
	Kind       string `yaml:"kind"`
	Metadata   struct {
		Name        string            `yaml:"name"`
		Namespace   string            `yaml:"namespace,omitempty"`
		Annotations map[string]string `yaml:"annotations"`
	} `yaml:"metadata"`
	Spec struct {
		Version         string `yaml:"version"`
		ValuesContent   string `yaml:"valuesContent,omitempty"`
		ChartContent    string `yaml:"chartContent"`
		TargetNamespace string `yaml:"targetNamespace,omitempty"`
		CreateNamespace bool   `yaml:"createNamespace,omitempty"`
		BackOffLimit    int    `yaml:"backOffLimit"`
	} `yaml:"spec"`
}

func NewHelmCRD

func NewHelmCRD(chart *image.HelmChart, chartContent, valuesContent, repositoryURL string) *HelmCRD

type Registry added in v1.1.0

type Registry struct {
	// contains filtered or unexported fields
}

func New added in v1.1.0

func New(ctx *image.Context, localManifestsDir string, helmClient helmClient, helmValuesDir string) (*Registry, error)

func (*Registry) ContainerImages added in v1.1.0

func (r *Registry) ContainerImages() ([]string, error)

func (*Registry) HelmCharts added in v1.1.0

func (r *Registry) HelmCharts() ([]*HelmCRD, error)

func (*Registry) ManifestsPath added in v1.1.0

func (r *Registry) ManifestsPath() string

Jump to

Keyboard shortcuts

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