helm

package
v0.0.0-...-cb48051 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 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 Dependency

type Dependency struct {
	Name         string        `json:"name" yaml:"name,omitempty"`
	Version      string        `json:"version,omitempty" yaml:"version,omitempty"`
	Repository   string        `json:"repository" yaml:"repository,omitempty"`
	Condition    string        `json:"condition,omitempty" yaml:"condition,omitempty"`
	Tags         []string      `json:"tags,omitempty" yaml:"tags,omitempty"`
	Enabled      bool          `json:"enabled,omitempty" yaml:"enabled,omitempty"`
	ImportValues []interface{} `json:"import-values,omitempty" yaml:"importValues,omitempty"`
	Alias        string        `json:"alias,omitempty" yaml:"alias,omitempty"`
}

type Index

type Index struct {
	Entries map[string][]IndexEntry `json:"entries" yaml:"entries"`
}

type IndexEntry

type IndexEntry struct {
	Version string   `json:"version" yaml:"version"`
	URLs    []string `json:"urls" yaml:"urls"`
}

type Maintainer

type Maintainer struct {
	Name  string `json:"name,omitempty" yaml:"name"`
	Email string `json:"email,omitempty" yaml:"email"`
	URL   string `json:"url,omitempty" yaml:"url"`
}

type Metadata

type Metadata struct {
	Name         string            `json:"name,omitempty" yaml:"name,omitempty"`
	Home         string            `json:"home,omitempty" yaml:"home,omitempty"`
	Sources      []string          `json:"sources,omitempty" yaml:"sources,omitempty"`
	Version      string            `json:"version,omitempty" yaml:"version,omitempty"`
	Description  string            `json:"description,omitempty" yaml:"description,omitempty"`
	Keywords     []string          `json:"keywords,omitempty" yaml:"keywords,omitempty"`
	Maintainers  []*Maintainer     `json:"maintainers,omitempty" yaml:"maintainers,omitempty"`
	Icon         string            `json:"icon,omitempty" yaml:"icon,omitempty"`
	APIVersion   string            `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	Condition    string            `json:"condition,omitempty" yaml:"condition,omitempty"`
	Tags         string            `json:"tags,omitempty" yaml:"tags,omitempty"`
	AppVersion   string            `json:"appVersion,omitempty" yaml:"appVersion,omitempty"`
	Deprecated   bool              `json:"deprecated,omitempty" yaml:"deprecated,omitempty"`
	Annotations  map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	KubeVersion  string            `json:"kubeVersion,omitempty" yaml:"kubeVersion,omitempty"`
	Dependencies []*Dependency     `json:"dependencies,omitempty" yaml:"dependencies,omitempty"`
	Type         string            `json:"type,omitempty" yaml:"type,omitempty"`
}

type Property

type Property struct {
	Title         string              `json:"title"`
	Type          PropertyType        `json:"type"`
	Description   string              `json:"description"`
	Order         []string            `json:"order"`
	Properties    map[string]Property `json:"properties"`
	Items         *Property           `json:"items"`
	Enum          []interface{}       `json:"enum"`
	Suggestions   []interface{}       `json:"x-suggestions"`
	Required      []string            `json:"required"`
	FileExtension string              `json:"fileExtension"`
	Reference     string              `json:"$ref"`
	Definitions   map[string]Property `json:"$defs"`
	Immutable     bool                `json:"immutable"`

	// number validation
	Minimum          *float64 `json:"minimum"`
	Maximum          *float64 `json:"maximum"`
	ExclusiveMinimum *bool    `json:"exclusiveMinimum"`
	ExclusiveMaximum *bool    `json:"exclusiveMaximum"`
	MultipleOf       *float64 `json:"multipleOf"`

	// string validation
	MinLength *int    `json:"minLength"`
	MaxLength *int    `json:"maxLength"`
	Pattern   *string `json:"pattern"`

	// schema compositions
	AnyOf []Property `json:"anyOf"`
}

func (Property) HasRef

func (p Property) HasRef() bool

type PropertyType

type PropertyType string

func (*PropertyType) UnmarshalJSON

func (t *PropertyType) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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