config

package
v0.0.0-...-d5808ce Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRequiredItem

func IsRequiredItem(item kotsv1beta1.ConfigItem) bool

func IsUnsetItem

func IsUnsetItem(item kotsv1beta1.ConfigItem) bool

func NeedsConfiguration

func NeedsConfiguration(opts ConfigOptions) (bool, error)

func ReadConfigValuesFromInClusterSecret

func ReadConfigValuesFromInClusterSecret() (string, error)

func UpdateConfigValuesInDB

func UpdateConfigValuesInDB(filesInDir string, appID string, sequence int64) error

UpdateConfigValuesInDB it gets the config values from filesInDir and updates the app version config values in the db for the given sequence and app id

Types

type ConfigOptions

type ConfigOptions struct {
	ConfigSpec         string
	ConfigValuesSpec   string
	LicenseSpec        string
	IdentityConfigSpec string
	RegistryHost       string
	RegistryNamespace  string
	RegistryUser       string
	RegistryPassword   string
}

Jump to

Keyboard shortcuts

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