models

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 2 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 {
	ID              string             `json:"-" bson:"_id"`
	Name            string             `json:"name"`
	Repo            Repo               `json:"repo"`
	Description     string             `json:"description"`
	Home            string             `json:"home"`
	Keywords        []string           `json:"keywords"`
	Maintainers     []chart.Maintainer `json:"maintainers"`
	Sources         []string           `json:"sources"`
	Icon            string             `json:"icon"`
	RawIcon         []byte             `json:"-" bson:"raw_icon"`
	IconContentType string             `json:"-" bson:"icon_content_type,omitempty"`
	ChartVersions   []ChartVersion     `json:"-"`
}

Chart is a higher-level representation of a chart package

type ChartFiles

type ChartFiles struct {
	ID     string `bson:"_id"`
	Readme string
	Values string
	Schema string
}

ChartFiles holds the README and values for a given chart version

type ChartVersion

type ChartVersion struct {
	Version    string    `json:"version"`
	AppVersion string    `json:"app_version"`
	Created    time.Time `json:"created"`
	Digest     string    `json:"digest"`
	URLs       []string  `json:"urls"`
	Readme     string    `json:"readme" bson:"-"`
	Values     string    `json:"values" bson:"-"`
	Schema     string    `json:"schema" bson:"-"`
}

ChartVersion is a representation of a specific version of a chart

type Repo

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

Repo holds the App repository details

Jump to

Keyboard shortcuts

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