Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ReconcileCfg *ReconcileConfig `arg:"subcommand:reconcile" help:"run reconciliation"`
TriggerCfg *TriggerConfig `arg:"subcommand:trigger" help:"run trigger"`
}
type ReconcileConfig ¶ added in v0.0.19
type ReconcileConfig struct {
ResourceGroupName string `json:"resource_group_name" arg:"-g,--resource-group-name,env:RESOURCE_GROUP_NAME,required" help:"Azure Resource Group Name"`
Environment string `json:"environment" arg:"--environment,env:ENVIRONMENT,required" help:"The current environment that azcagit is running in"`
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 */
OwnContainerJobName string `` /* 180-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)"`
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"`
NotificationsEnabled bool `` /* 219-byte string literal not displayed */
NotificationGroup string `` /* 145-byte string literal not displayed */
CosmosDBAccount string `` /* 127-byte string literal not displayed */
CosmosDBSqlDb string `` /* 138-byte string literal not displayed */
CosmosDBCacheContainer string `` /* 158-byte string literal not displayed */
DebugEnabled bool `json:"debug_enabled" arg:"--debug,env:DEBUG" default:"false" help:"Enabled debug logging"`
}
func (*ReconcileConfig) Redacted ¶ added in v0.0.19
func (cfg *ReconcileConfig) Redacted() ReconcileConfig
type TriggerConfig ¶ added in v0.0.19
type TriggerConfig struct {
SubscriptionID string `json:"subscription_id" arg:"-s,--subscription-id,env:AZURE_SUBSCRIPTION_ID,required" help:"Azure Subscription ID"`
JobName string `json:"job_name" arg:"--job-name,env:JOB_NAME,required" help:"The name of the container app job running azcagit"`
ResourceGroupName string `` /* 172-byte string literal not displayed */
ServiceBusNamespace string `` /* 133-byte string literal not displayed */
ServiceBusQueue string `` /* 157-byte string literal not displayed */
}
Click to show internal directories.
Click to hide internal directories.