Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AsyncKey            = "async"
	OutputFormatKey     = "output_format"
	ProjectIdKey        = "project_id"
	SessionTimeLimitKey = "session_time_limit"
	VerbosityKey        = "verbosity"

	ArgusCustomEndpointKey          = "argus_custom_endpoint"
	AuthorizationCustomEndpointKey  = "authorization_custom_endpoint"
	DNSCustomEndpointKey            = "dns_custom_endpoint"
	LogMeCustomEndpointKey          = "logme_custom_endpoint"
	MariaDBCustomEndpointKey        = "mariadb_custom_endpoint"
	MongoDBFlexCustomEndpointKey    = "mongodbflex_custom_endpoint"
	ObjectStorageCustomEndpointKey  = "object_storage_custom_endpoint"
	OpenSearchCustomEndpointKey     = "opensearch_custom_endpoint"
	PostgresFlexCustomEndpointKey   = "postgresflex_custom_endpoint"
	RabbitMQCustomEndpointKey       = "rabbitmq_custom_endpoint"
	RedisCustomEndpointKey          = "redis_custom_endpoint"
	ResourceManagerEndpointKey      = "resource_manager_custom_endpoint"
	SecretsManagerCustomEndpointKey = "secrets_manager_custom_endpoint"
	ServiceAccountCustomEndpointKey = "service_account_custom_endpoint"
	SKECustomEndpointKey            = "ske_custom_endpoint"

	AsyncDefault            = false
	SessionTimeLimitDefault = "2h"
)

Supported config keys

View Source
const (
	ProjectNameKey = "project_name"
)

Backend config keys

Variables

Functions

func InitConfig

func InitConfig()

func Write added in v0.2.3

func Write() error

Write saves the config file (wrapping `viper.WriteConfig`) and ensures that its directory exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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