tasks

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2018 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// InitServicesTimestamp exists on the local fs when registration first succeeds
	InitServicesTimestamp = "./registration-timestamps.txt"
)

Variables

This section is empty.

Functions

func GetHostname

func GetHostname(ovf lib.Environment, vmIP net.IP) string

GetHostname returns the non-transient hostname of the Appliance

Types

type PSCRegistrationConfig

type PSCRegistrationConfig struct {
	Admin       *lib.LoginInfo
	PscInstance string
	PscDomain   string
}

PSCRegistrationConfig holds the required data for a psc registration

func NewPSCRegistrationConfig

func NewPSCRegistrationConfig() *PSCRegistrationConfig

NewPSCRegistrationConfig returns a PSCRegistrationConfig with a initialized Admin LoginInfo type

func (*PSCRegistrationConfig) RegisterAppliance

func (conf *PSCRegistrationConfig) RegisterAppliance(op trace.Operation) error

RegisterAppliance runs the three processes required to register the appliance: TagVM, RegisterWithPSC, and SaveInitializationState

func (*PSCRegistrationConfig) RegisterWithPSC

func (conf *PSCRegistrationConfig) RegisterWithPSC(op trace.Operation) error

RegisterWithPSC runs the PSC register command to register VIC services with the platforms services controller. The command generates config files and keystore files to use while getting and renewing tokens.

type Plugin

type Plugin struct {
	Target *lib.LoginInfo

	Force    bool
	Insecure bool

	Company               string
	HideInSolutionManager bool
	Configure             bool
	Key                   string
	Name                  string
	Summary               string
	Version               string
	EntityType            string

	ApplianceHost             string
	ApplianceURL              string
	ApplianceServerThumbprint string
}

Plugin has all input parameters for vic-ui ui command

func NewFlexUIPlugin

func NewFlexUIPlugin(target *lib.LoginInfo) *Plugin

NewFlexUIPlugin Returns a UI Plugin struct populated defaults for an Flex Client install

func NewH5UIPlugin

func NewH5UIPlugin(target *lib.LoginInfo) *Plugin

NewH5UIPlugin Returns a UI Plugin struct populated defaults for an H5 Client install

func NewUIPlugin

func NewUIPlugin(target *lib.LoginInfo) *Plugin

NewUIPlugin Returns a UI Plugin struct with the given target

func (*Plugin) Info

func (p *Plugin) Info(op trace.Operation) error

func (*Plugin) Install

func (p *Plugin) Install(op trace.Operation) error

func (*Plugin) Remove

func (p *Plugin) Remove(op trace.Operation) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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