defaults

package
v0.0.0-...-b8a7cb5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRequestTimeout time.Duration = 10 * time.Second

	DefaultDeployBaseURL string = "https://api.cloud.cbh.kth.se/deploy"

	DefaultRedirectSchemeHostPort string = "http://localhost:3000"
	DefaultRedirectBasePath       string = "/auth/callback"

	DefaultKeycloakBaseURL      string = "https://iam.cloud.cbh.kth.se"
	DefaultKeycloakRealm        string = "cloud"
	DefaultKeycloakClientID     string = "landing"
	DefaultKeycloakClientSecret string = ""

	DefaultStorageManagerProxy string = "https://sm-proxy.app.cloud.cbh.kth.se"

	DefaultCreateWorkflow bool = true

	DefaultSaveSecrets bool = false

	DefaultComposeUpBuildAll   bool = false
	DefaultComposeUpDetached   bool = false
	DefaultComposeUpTryVolumes bool = false

	DefaultNonInteractive bool = false

	DefaultPsAll bool = false

	DefaultParseOutputOnlyJSON bool = false

	DefaultRemoveCustomDeployments bool = false

	DefaultDeploymentCores    float64 = 0.2
	DefaultDeploymentMemory   float64 = 0.5
	DefaultDeploymentReplicas int     = 1

	DefaultDeploymentVisibility string = "public"

	DefaultDeploymentRunInteractive bool = false
	DefaultDeploymentRunTTY         bool = false
	DefaultDeploymentRunRemove      bool = false
	DefaultDeploymentRunDetatch     bool = false

	DefaultDeploymentZone string = "se-flem-2"
)

Variables

View Source
var (
	DefaultComposeFileNames []string = []string{
		"kthcloud.docker-compose.yaml",
		"kthcloud.docker-compose.yml",
		"kthcloud.compose.yaml",
		"kthcloud.compose.yml",
		"docker-compose.yaml",
		"docker-compose.yml",
		"compose.yaml",
		"compose.yml",
	}

	DefaultComposeDotEnvFileNames []string = []string{
		".env",
		".env.kthcloud",
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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