chartmuseumbase

package
v0.0.0-...-6cdb919 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRepo

func NewRepo(config config.Repo) (templaterepo.TemplateRepo, error)

Types

type Metadata

type Metadata struct {
	Name        string    `json:"name"`
	Version     string    `json:"version"`
	Description string    `json:"description"`
	APIVersion  string    `json:"apiVersion"`
	Type        string    `json:"type"`
	Urls        []string  `json:"urls"`
	Created     time.Time `json:"created"`
	Digest      string    `json:"digest"`
}

type Repo

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

func (*Repo) DeleteChart

func (h *Repo) DeleteChart(name string, version string) error

func (*Repo) ExistChart

func (h *Repo) ExistChart(name string, version string) (bool, error)

func (*Repo) GetChart

func (h *Repo) GetChart(name string, version string, lastSyncAt time.Time) (*chart.Chart, error)

func (*Repo) GetLoc

func (h *Repo) GetLoc() string

func (*Repo) UploadChart

func (h *Repo) UploadChart(chartPkg *chart.Chart) error

type Stat

type Stat struct {
	Metadata Metadata `json:"metadata"`
}

Jump to

Keyboard shortcuts

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