cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Timeout = 30
)

Functions

func Execute

func Execute(version string)

func Help

func Help(cmd *cobra.Command, strings []string)

Types

type Config

type Config struct {
	TenantId       string `env:"AZURE_TENANT_ID"`
	ClientId       string `env:"AZURE_CLIENT_ID"`
	ClientSecret   string `env:"AZURE_CLIENT_SECRET"`
	Scope          string
	ServiceName    string
	ServiceNames   []string
	StateOverrides []string
	ShowAll        bool
}

func (*Config) Client

func (c *Config) Client() *client.Client

func (*Config) LoadEnv

func (c *Config) LoadEnv()

Jump to

Keyboard shortcuts

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