Documentation ¶
Index ¶
- Constants
- func GetMgmtIP() net.IPNet
- func LinkByOneOfNameOrAlias(name ...string) netlink.Link
- type Validator
- func (v *Validator) GetVCHName(ctx context.Context, sess *session.Session) error
- func (v *Validator) QueryDatastore(ctx context.Context, vch *config.VirtualContainerHostConfigSpec, ...) error
- func (v *Validator) QueryVCHStatus(ctx context.Context, vch *config.VirtualContainerHostConfigSpec, ...)
- func (v *Validator) QueryVMGroupStatus(ctx context.Context, vch *config.VirtualContainerHostConfigSpec, ...)
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 LinkByOneOfNameOrAlias ¶
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 NewValidator ¶
func (*Validator) GetVCHName ¶
Obtain the VCH name from vsphere
func (*Validator) QueryDatastore ¶
func (*Validator) QueryVCHStatus ¶
func (*Validator) QueryVMGroupStatus ¶
Click to show internal directories.
Click to hide internal directories.