Documentation
¶
Index ¶
Constants ¶
View Source
const (
WireServerFallbackAddress = "http://168.63.129.16:32526"
)
Variables ¶
This section is empty.
Functions ¶
func GetVMSettingsRequestManager ¶
func GetVMSettingsRequestManager(ctx *log.Context) (*requesthelper.RequestManager, error)
Returns a new RequestManager object useful to make GET Requests
Types ¶
type ExtensionGoalStates ¶
type ExtensionGoalStates struct {
Name string `json:"name"`
Version string `json:"version"`
Location string `json:"location"`
Failoverlocation string `json:"failoverlocation"`
AdditionalLocations []string `json:"additionalLocations"`
State string `json:"state"`
AutoUpgrade bool `json:"autoUpgrade"`
RunAsStartupTask bool `json:"runAsStartupTask"`
IsJson bool `json:"isJson"`
UpgradeGuid string `json:"upgradeGuid"`
UseExactVersion bool `json:"useExactVersion"`
SettingsSeqNo int `json:"settingsSeqNo"`
ExtensionName string `json:"extensionName"`
IsMultiConfig bool `json:"isMultiConfig"`
Settings []settings.SettingsCommon `json:"settings"`
}
func (*ExtensionGoalStates) ValidateSignature ¶
func (goalState *ExtensionGoalStates) ValidateSignature() (bool, error)
type HostGACommunicator ¶
type HostGACommunicator struct {
// contains filtered or unexported fields
}
HostGaCommunicator provides methods for retrieving VMSettings from the HostGAPlugin
func NewHostGACommunicator ¶
func NewHostGACommunicator(requestManager IVMSettingsRequestManager) HostGACommunicator
func (*HostGACommunicator) GetImmediateVMSettings ¶
func (c *HostGACommunicator) GetImmediateVMSettings(ctx *log.Context) (*VMSettings, error)
GetVMSettings returns the VMSettings for the current machine
type IHostGACommunicator ¶
type IHostGACommunicator interface {
GetImmediateVMSettings(ctx *log.Context) (*VMSettings, error)
}
Interface for operations available when communicating with HostGAPlugin
type IVMSettingsRequestManager ¶
type IVMSettingsRequestManager interface {
GetVMSettingsRequestManager(ctx *log.Context) (*requesthelper.RequestManager, error)
}
type VMSettings ¶
type VMSettings struct {
HostGAPluginVersion string `json:"hostGAPluginVersion"`
VmSettingsSchemaVersion string `json:"vmSettingsSchemaVersion"`
ActivityId string `json:"activityId"`
CorrelationId string `json:"correlationId"`
ExtensionGoalStatesSource string `json:"extensionGoalStatesSource"`
ExtensionGoalStates []ExtensionGoalStates `json:"extensionGoalStates"`
}
Click to show internal directories.
Click to hide internal directories.