config

package
v0.0.0-...-d88c78e Latest Latest
Warning

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

Go to latest
Published: Nov 2, 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 Config

type Config struct {
	ServerURL                 string `yaml:"serverURL"`
	ServerPort                int    `yaml:"serverPort"`
	RootNamespace             string `yaml:"rootNamespace"`
	PackageRegistryBase       string `yaml:"packageRegistryBase"`
	PackageRegistrySecretName string `yaml:"packageRegistrySecretName"`

	DefaultLifecycleConfig DefaultLifecycleConfig `yaml:"defaultLifecycleConfig"`

	AuthEnabled bool `yaml:"authEnabled"`
}

func LoadFromPath

func LoadFromPath(path string) (*Config, error)

type DefaultLifecycleConfig

type DefaultLifecycleConfig struct {
	Type            string `yaml:"type"`
	Stack           string `yaml:"stack"`
	StagingMemoryMB int    `yaml:"stagingMemoryMB"`
	StagingDiskMB   int    `yaml:"stagingDiskMB"`
}

DefaultLifecycleConfig contains default values of the Lifecycle block of CFApps and Builds created by the Shim

Jump to

Keyboard shortcuts

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