vicadmin

package
v1.5.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoodStatus     = template.HTML(`<i class="icon-ok"></i>`)
	BadStatus      = template.HTML(`<i class="icon-attention"></i>`)
	DefaultVCHName = ` `
)

Variables

This section is empty.

Functions

func GetMgmtIP

func GetMgmtIP() net.IPNet

func LinkByOneOfNameOrAlias

func LinkByOneOfNameOrAlias(name ...string) netlink.Link

Types

type Validator

type Validator struct {
	Hostname         string
	Version          string
	FirewallStatus   template.HTML
	FirewallIssues   template.HTML
	LicenseStatus    template.HTML
	LicenseIssues    template.HTML
	NetworkStatus    template.HTML
	NetworkIssues    template.HTML
	StorageRemaining template.HTML
	HostIP           string
	DockerPort       string
	VCHStatus        template.HTML
	VCHIssues        template.HTML
	VCHReachable     bool
	SystemTime       string
}

func (*Validator) GetVCHName

func (v *Validator) GetVCHName(ctx context.Context, sess *session.Session) error

Obtain the VCH name from vsphere

func (*Validator) QueryDatastore

func (v *Validator) QueryDatastore(ctx context.Context, vch *config.VirtualContainerHostConfigSpec, sess *session.Session) error

func (*Validator) QueryVCHStatus

func (v *Validator) QueryVCHStatus(ctx context.Context, vch *config.VirtualContainerHostConfigSpec, sess *session.Session)

func (*Validator) QueryVMGroupStatus

func (v *Validator) QueryVMGroupStatus(ctx context.Context, vch *config.VirtualContainerHostConfigSpec, sess *session.Session)

Jump to

Keyboard shortcuts

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