vcenter

package
v0.0.0-...-f51c6d5 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConnectFlags = []cli.Flag{
		cli.StringFlag{
			Name:   "user",
			EnvVar: "GOVCTOOLS_USER",
		},
		cli.StringFlag{
			Name:   "pass",
			EnvVar: "GOVCTOOLS_PASS",
		},
		cli.StringFlag{
			Name:   "host",
			EnvVar: "GOVCTOOLS_HOST",
		},
		cli.IntFlag{
			Name:   "port, p",
			EnvVar: "GOVCTOOLS_PORT",
		},
		cli.BoolFlag{
			Name:   "disable-tls",
			EnvVar: "GOVCTOOLS_DISABLE_TLS",
		},
	}
)

Functions

func ConnectVcenter

func ConnectVcenter(ctx *context.Context, args *connectArgs) (*govmomi.Client, error)

func NewConnectArgs

func NewConnectArgs(c *cli.Context) (*connectArgs, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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