config

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT 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 {
	ResourceGroupName         string `json:"resource_group_name" arg:"-g,--resource-group-name,env:RESOURCE_GROUP_NAME,required" help:"Azure Resource Group Name"`
	SubscriptionID            string `json:"subscription_id" arg:"-s,--subscription-id,env:AZURE_SUBSCRIPTION_ID,required" help:"Azure Subscription ID"`
	ManagedEnvironmentID      string `` /* 150-byte string literal not displayed */
	KeyVaultName              string `` /* 126-byte string literal not displayed */
	OwnContainerAppName       string `` /* 166-byte string literal not displayed */
	OwnResourceGroupName      string `` /* 177-byte string literal not displayed */
	ContainerRegistryServer   string `` /* 133-byte string literal not displayed */
	ContainerRegistryUsername string `` /* 141-byte string literal not displayed */
	ContainerRegistryPassword string `` /* 141-byte string literal not displayed */
	Location                  string `json:"location" arg:"-l,--location,env:LOCATION,required" help:"Azure Region (location)"`
	ReconcileInterval         string `` /* 130-byte string literal not displayed */
	CheckoutPath              string `` /* 147-byte string literal not displayed */
	GitUrl                    string `json:"git_url" arg:"-u,--git-url,env:GIT_URL,required" help:"The git url to checkout"`
	GitBranch                 string `json:"git_branch" arg:"-b,--git-branch,env:GIT_BRANCH" default:"main" help:"The git branch to checkout"`
	GitYamlPath               string `json:"git_yaml_path" arg:"--git-yaml-path,env:GIT_YAML_ROOT" default:"" help:"The path where the yaml files are located"`
	DaprAppPort               int    `json:"dapr_app_port" arg:"--dapr-app-port,env:DAPR_APP_PORT" default:"8080" help:"The port Dapr service should listen to"`
	DaprPubsubName            string `` /* 134-byte string literal not displayed */
	DaprTopic                 string `json:"dapr_topic" arg:"--dapr-topic-name,env:DAPR_TOPIC_NAME,required" help:"The PubSub topic name for the trigger"`
	NotificationsEnabled      bool   `` /* 219-byte string literal not displayed */
	DebugEnabled              bool   `json:"debug_enabled" arg:"--debug,env:DEBUG" default:"false" help:"Enabled debug logging"`
}

func NewConfig

func NewConfig(args []string) (Config, error)

func (*Config) Redacted added in v0.0.3

func (cfg *Config) Redacted() Config

Jump to

Keyboard shortcuts

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