command

package
v0.0.278 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Js

func Js(s string) *string

alias

func Jsbool

func Jsbool(b bool) *bool

func Jsf

func Jsf(s string, a ...any) *string

func Jsfalse

func Jsfalse() *bool

func Jsn

func Jsn(v float64) *float64

func Jstrue

func Jstrue() *bool

Types

type AwsAccount

type AwsAccount struct {
	Name     string                        `json:"name"`
	Email    string                        `json:"email"`
	Profile  string                        `json:"profile"`
	Prefix   string                        `json:"prefix"`
	Imported string                        `json:"imported"`
	Region   string                        `json:"region"`
	Cfg      CfgTerraformAwsS3BucketConfig `json:"cfg"`

	Url string `json:"url"`
	Id  string `json:"id"`
}

type AwsAdmin

type AwsAdmin struct {
	Name  string `json:"name"`
	Email string `json:"email"`
}

type AwsBackend

type AwsBackend struct {
	Lock    string `json:"lock"`
	Bucket  string `json:"bucket"`
	Region  string `json:"region"`
	Profile string `json:"profile"`
}

type AwsOrganization

type AwsOrganization struct {
	Name     string       `json:"name"`
	Region   string       `json:"region"`
	Accounts []AwsAccount `json:"accounts"`
	Admins   []AwsAdmin   `json:"admins"`

	OpsOrgName     string `json:"ops_org_name"`
	OpsAccountName string `json:"ops_account_name"`
	OpsAccountID   string `json:"ops_account_id"`
}

type AwsProps

type AwsProps struct {
	Backend      AwsBackend                 `json:"backend"`
	Organization map[string]AwsOrganization `json:"organization"`
	Accounts     []string                   `json:"accounts"`
}

func LoadUserAwsProps

func LoadUserAwsProps(infra_schema string) AwsProps

type CfgTerraformAwsS3BucketConfig

type CfgTerraformAwsS3BucketConfig struct {
	Id                *string    `json:"id"`
	Enabled           *bool      `json:"enabled"`
	Namespace         *string    `json:"namespace"`
	Stage             *string    `json:"stage"`
	Name              *string    `json:"name"`
	Attributes        *[]*string `json:"attributes"`
	Acl               *string    `json:"acl"`
	UserEnabled       *bool      `json:"user_enabled"`
	VersioningEnabled *bool      `json:"versioning_enabled"`
}

Jump to

Keyboard shortcuts

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