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 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, eTag string) (*ResponseData, error)
GetVMSettings returns the VMSettings for the current machine
type IHostGACommunicator ¶
type IHostGACommunicator interface {
GetImmediateVMSettings(ctx *log.Context, eTag string) (*ResponseData, error)
}
Interface for operations available when communicating with HostGAPlugin
type IVMSettingsRequestManager ¶
type IVMSettingsRequestManager interface {
GetVMSettingsRequestManager(ctx *log.Context) (*requesthelper.RequestManager, error)
}
type ImmediateExtensionGoalState ¶ added in v1.3.14
type ImmediateExtensionGoalState struct { Name string `json:"name"` Settings []settings.SettingsCommon `json:"settings"` }
func (*ImmediateExtensionGoalState) ValidateSignature ¶ added in v1.3.14
func (goalState *ImmediateExtensionGoalState) ValidateSignature() (bool, error)
type ResponseData ¶ added in v1.3.14
type ResponseData struct { VMSettings *VMImmediateExtensionsGoalState ETag string Modified bool }
type VMImmediateExtensionsGoalState ¶ added in v1.3.14
type VMImmediateExtensionsGoalState struct {
ImmediateExtensionGoalStates []ImmediateExtensionGoalState `json:"immediateExtensionsGoalStates"`
}
Click to show internal directories.
Click to hide internal directories.