common

package
v0.0.0-...-5514b85 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureApiConfig

type AzureApiConfig struct {
	Description string
}

type AzureConfig

type AzureConfig struct {
	Refresh                                 bool
	ResourceGroup                           string `mapstructure:"resource-group"`
	Org                                     string `mapstructure:"org"`
	AdminEmail                              string `mapstructure:"adminemail"`
	Apis                                    map[string]*AzureApiConfig
	config.AbstractConfig[*AzureConfigItem] `mapstructure:"config,squash"`
}

func ConfigFromAttributes

func ConfigFromAttributes(attributes map[string]interface{}) (*AzureConfig, error)

Return AzureConfig from stack attributes

type AzureConfigItem

type AzureConfigItem struct {
	ContainerApps *AzureContainerAppsConfig `mapstructure:"containerapps,omitempty"`
	Telemetry     int
}

type AzureContainerAppsConfig

type AzureContainerAppsConfig struct {
	Cpu         float64
	Memory      float64
	MinReplicas int `mapstructure:"min-replicas"`
	MaxReplicas int `mapstructure:"max-replicas"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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