config

package
v0.0.0-...-ac771f7 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const OperatorConfigFilename = "operatorconfig.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type OperatorConfig

type OperatorConfig struct {
	ApplicationName             string         `yaml:"applicationName"`
	Namespace                   string         `yaml:"namespace"`
	SourceDeploymentPath        string         `yaml:"sourceDeploymentPath"`
	RuntimeDeploymentPath       string         `yaml:"runtimeDeploymentPath"`
	AppDeploymentDirName        string         `yaml:"appDeploymentDirName"`
	RuntimeResReqPath           string         `yaml:"runtimeResReqPath"`
	ResReqDirName               string         `yaml:"resReqDirName"`
	KubernetesAppDeploymentName string         `yaml:"kubernetesAppDeploymentName"`
	AppPnaName                  string         `yaml:"appPnaName"`
	Template                    TemplateConfig `yaml:"templater"`
}

func GetConfiguration

func GetConfiguration(configDir string) (OperatorConfig, error)

func (*OperatorConfig) GetAppDeploymentSourcePath

func (in *OperatorConfig) GetAppDeploymentSourcePath() string

func (*OperatorConfig) GetResourceRequestSourcePath

func (in *OperatorConfig) GetResourceRequestSourcePath() string

type TemplateConfig

type TemplateConfig struct {
	LeftDelimiter  string `yaml:"leftDelimiter"`
	RightDelimiter string `yaml:"rightDelimiter"`
}

Jump to

Keyboard shortcuts

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