common

package
v2.55.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFromTemplate

func AppendFromTemplate(dst *[]*creator.FsObject, path string, templates func() []Template, config interface{}) error

AppendFromTemplate add files from the given template to the given directory by appending to the file objects list.

Types

type ClusterBaseTemplates added in v2.30.0

type ClusterBaseTemplates struct {
	ClusterAppCr  string
	ClusterValues string

	DefaultAppsAppCr  string
	DefaultAppsValues string
}

type StructureConfig

type StructureConfig struct {
	App                    string
	AppBase                string
	AppCatalog             string
	AppInstallTimeout      *metav1.Duration
	AppName                string
	AppNamespace           string
	AppRollbackTimeout     *metav1.Duration
	AppUninstallTimeout    *metav1.Duration
	AppUpgradeTimeout      *metav1.Duration
	AppUserValuesConfigMap string
	AppUserValuesSecret    string
	AppVersion             string
	AppVersionRepository   string

	Provider             string
	ClusterBaseTemplates ClusterBaseTemplates

	ClusterBase           string
	ClusterRelease        string
	ClusterUserConfig     string
	DefaultAppsRelease    string
	DefaultAppsUserConfig string

	EncryptionKeyPair encryption.KeyPair
	EncryptionTarget  string

	ManagementCluster string
	Organization      string
	RepositoryName    string
	SkipMAPI          bool
	WorkloadCluster   string

	Region string

	// Azure only
	AzureSubscriptionID string
}

type Template

type Template struct {
	Data       string
	Name       string
	Permission os.FileMode
}

Jump to

Keyboard shortcuts

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