model

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Name      string   `json:"name"`
	Namespace string   `json:"namespace"`
	Release   *Release `json:"release"`
	Chart     *Chart   `json:"chart"`
}

type AppFilter added in v0.0.30

type AppFilter struct {
	Namespace *string `json:"namespace"`
	Selector  *string `json:"selector"`
	Limit     *int    `json:"limit"`
	Offset    *int    `json:"offset"`
}

type AppInput

type AppInput struct {
	Namespace string                 `json:"namespace"`
	Chart     string                 `json:"chart"`
	AppName   string                 `json:"app_name"`
	Config    map[string]interface{} `json:"config"`
}

type AppRef

type AppRef struct {
	Namespace string `json:"namespace"`
	Name      string `json:"name"`
}

type Chart

type Chart struct {
	Name         string                 `json:"name"`
	Home         *string                `json:"home"`
	Icon         *string                `json:"icon"`
	Version      *string                `json:"version"`
	Description  *string                `json:"description"`
	Sources      []string               `json:"sources"`
	Keywords     []string               `json:"keywords"`
	Deprecated   *bool                  `json:"deprecated"`
	Metadata     map[string]interface{} `json:"metadata"`
	Maintainers  []*Maintainer          `json:"maintainers"`
	Dependencies []*Dependency          `json:"dependencies"`
}

type ChartFilter added in v0.0.30

type ChartFilter struct {
	Term  string `json:"term"`
	Regex *bool  `json:"regex"`
}

type Dependency

type Dependency struct {
	Chart      string `json:"chart"`
	Version    string `json:"version"`
	Repository string `json:"repository"`
}

type HistoryFilter added in v0.0.30

type HistoryFilter struct {
	Ref   *AppRef `json:"ref"`
	Limit *int    `json:"limit"`
}

type Maintainer

type Maintainer struct {
	Name  string `json:"name"`
	Email string `json:"email"`
}

type NamespaceRef

type NamespaceRef struct {
	Name string `json:"name"`
}

type Release

type Release struct {
	Version     int                    `json:"version"`
	Config      map[string]interface{} `json:"config"`
	Notes       *string                `json:"notes"`
	Description *string                `json:"description"`
	Status      *string                `json:"status"`
	Timestamps  *Timestamps            `json:"timestamps"`
}

type Timestamps

type Timestamps struct {
	Created *time.Time `json:"created"`
	Updated *time.Time `json:"updated"`
	Deleted *time.Time `json:"deleted"`
}

Jump to

Keyboard shortcuts

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