cmd

package
v0.3.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigCmd

func ConfigCmd() *cobra.Command

func ConfigGetCmd

func ConfigGetCmd() *cobra.Command

func ConfigSetCmd

func ConfigSetCmd() *cobra.Command

func LaunchCmd

func LaunchCmd() *cobra.Command

func NewRootCommand

func NewRootCommand() *cobra.Command

func VersionCmd

func VersionCmd() *cobra.Command

Types

type CRInfo

type CRInfo struct {
	Path                string
	TemplateType        string
	CICDProvider        string
	CICDBaseUrl         string
	CICDOrganization    string
	CICDProject         string
	TerraformPipelineID string
	// contains filtered or unexported fields
}

type TerraformRequestBody

type TerraformRequestBody struct {
	Resources struct {
		Repositories struct {
			Self struct {
				RefName string `json:"refName"`
			} `json:"self"`
		} `json:"repositories"`
	} `json:"resources"`
	TemplateParameters struct {
		DebugMode            bool   `json:"DEBUG_MODE"`
		TerraformAutoApprove string `json:"TERRAFORM_AUTO_APPROVE"`
		TerraformAction      string `json:"TERRAFORM_ACTION"`
		CustomResourceName   string `json:"CUSTOM_RESOURCE_NAME"`
	} `json:"templateParameters"`
	Variables struct {
		AzureSubscriptionID struct {
			IsSecret bool   `json:"isSecret"`
			Value    string `json:"value"`
		} `json:"AZURE_SUBSCRIPTION_ID"`
		AzureTenantID struct {
			IsSecret bool   `json:"isSecret"`
			Value    string `json:"value"`
		} `json:"AZURE_TENANT_ID"`
		TerraformVariables struct {
			IsSecret bool   `json:"isSecret"`
			Value    string `json:"value"`
		} `json:"TERRAFORM_VARIABLES"`
	} `json:"variables"`
}

Jump to

Keyboard shortcuts

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