Documentation ¶
Index ¶
Constants ¶
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 ¶
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 ¶
NewFlexUIPlugin Returns a UI Plugin struct populated defaults for an Flex Client install
func NewH5UIPlugin ¶
NewH5UIPlugin Returns a UI Plugin struct populated defaults for an H5 Client install
func NewUIPlugin ¶
NewUIPlugin Returns a UI Plugin struct with the given target