config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 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 */
	Location             string `json:"location" arg:"-l,--location,env:LOCATION,required" help:"Azure Region (location)"`
	ReconcileInterval    string `` /* 130-byte string literal not displayed */
	CheckoutPath         string `` /* 141-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 `` /* 132-byte string literal not displayed */
}

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