chartindex

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartAndVersions

type ChartAndVersions struct {
	Repo     string         `json:"repo"`
	Name     string         `json:"name"`
	URI      string         `json:"uri"`
	Versions []ChartVersion `json:"versions"`
	Keywords []string       `json:"keywords"`
}

type ChartIndex

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

func (*ChartIndex) Build

func (i *ChartIndex) Build() error

func (*ChartIndex) Save

func (i *ChartIndex) Save(filename string) error

type ChartMatch

type ChartMatch struct {
	Repo               string
	Name               string
	ChartVersion       string
	AppVersion         string
	LatestChartVersion string
	LatestAppVersion   string
}

func FindBestUpstreamMatches

func FindBestUpstreamMatches(chartName string, chartVersion string, appVersion string) ([]ChartMatch, error)

type ChartVersion

type ChartVersion struct {
	ChartVersion string `json:"chartVersion"`
	AppVersion   string `json:"appVersion"`
}

type MonocularChartAttributes

type MonocularChartAttributes struct {
	Name     string             `json:"name"`
	Keywords []string           `json:"keywords"`
	Repo     MonocularChartRepo `json:"repo"`
}

type MonocularChartData

type MonocularChartData struct {
	ID            string                      `json:"id"`
	Type          string                      `json:"type"`
	Attributes    MonocularChartAttributes    `json:"attributes"`
	Relationships MonocularChartRelationships `json:"relationships"`
}

type MonocularChartRelationships

type MonocularChartRelationships struct {
	LatestChartVersion MonocularChartVersion `json:"latestChartVersion"`
}

type MonocularChartRepo

type MonocularChartRepo struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

type MonocularChartVersion

type MonocularChartVersion struct {
	Data MonocularChartVersionData `json:"data"`
}

type MonocularChartVersionData

type MonocularChartVersionData struct {
	Version    string    `json:"version"`
	AppVersion string    `json:"app_version"`
	Created    time.Time `json:"created"`
	Readme     string    `json:"readme"`
	Values     string    `json:"values"`
}

type MonocularMeta

type MonocularMeta struct {
	TotalPages int `json:"totalPages"`
}

type MonocularResponse

type MonocularResponse struct {
	Data []MonocularChartData `json:"data"`
	Meta MonocularMeta        `json:"meta"`
}

Jump to

Keyboard shortcuts

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