config

package
v0.0.0-...-1c213c1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIConfig

type APIConfig struct {
	InternalPort int `yaml:"internalPort"`

	ExternalFQDN string `yaml:"externalFQDN"`
	ExternalPort int    `yaml:"externalPort"`

	ServerURL string

	RootNamespace             string `yaml:"rootNamespace"`
	PackageRegistryBase       string `yaml:"packageRegistryBase"`
	PackageRegistrySecretName string `yaml:"packageRegistrySecretName"`
	ClusterBuilderName        string `yaml:"clusterBuilderName"`
	DefaultDomainName         string `yaml:"defaultDomainName"`

	DefaultLifecycleConfig DefaultLifecycleConfig `yaml:"defaultLifecycleConfig"`

	AuthEnabled  bool            `yaml:"authEnabled"`
	RoleMappings map[string]Role `yaml:"roleMappings"`
}

func LoadFromPath

func LoadFromPath(path string) (*APIConfig, 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

type Role

type Role struct {
	Name      string `yaml:"name"`
	Propagate bool   `yaml:"propagate"`
}

Jump to

Keyboard shortcuts

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