values

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 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 Image

type Image struct {
	Tag        string        `json:"tag,omitempty"  desc:"Tag for the container."`
	Repository string        `json:"repository,omitempty"  desc:"Image name (repository)."`
	Registry   string        `json:"registry,omitempty" desc:"Image registry."`
	PullPolicy v1.PullPolicy `json:"pullPolicy,omitempty"  desc:"Image pull policy."`
	PullSecret string        `json:"pullSecret,omitempty" desc:"Image pull secret."`
}

this image type is shared with the skv2 Chart model

type UserContainerValues

type UserContainerValues struct {
	Image     Image                    `json:"image" desc:"Specify the container image"`
	Env       []v1.EnvVar              `` /* 239-byte string literal not displayed */
	Resources *v1.ResourceRequirements `` /* 235-byte string literal not displayed */
}

document values structure for a container

type UserHelmValues

type UserHelmValues struct {
	Operators    []UserOperatorValues
	CustomValues interface{}
}

used to document the values structure of the generated Helm Chart

type UserOperatorValues

type UserOperatorValues struct {
	Name   string
	Values UserValues
}

type UserValues

type UserValues struct {
	UserContainerValues `json:",inline"`

	// Required to have an interface value in order to use the `index` function in the template
	Sidecars     map[string]UserContainerValues `json:"sidecars" desc:"Configuration for the deployed containers."`
	ServiceType  v1.ServiceType                 `` /* 133-byte string literal not displayed */
	ServicePorts map[string]uint32              `json:"ports" desc:"Specify service ports as a map from port name to port number."`

	// Overrides which can be set by the user
	DeploymentOverrides *appsv1.Deployment `` /* 220-byte string literal not displayed */
	ServiceOverrides    *v1.Service        `` /* 211-byte string literal not displayed */
}

document values structure for an operator

Jump to

Keyboard shortcuts

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