Documentation ¶
Index ¶
Constants ¶
View Source
const (
//SdkServiceID represents system sdk
ServiceID = "sdk"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
type Info struct { Home string //sdk path Build string //sdk build version SessionID string //session id of target host Sdk string //requested sdk Version string //requested sdk version }
Info represents a system sdk
type SetRequest ¶
type SetRequest struct { Sdk string //request sdk jdk, go Version string //requested version Env map[string]string Target *location.Resource //target host BaseLocation string }
SetRequest represents sdk set request
func NewSetRequest ¶
func NewSetRequest(target *location.Resource, sdk string, version string, env map[string]string) *SetRequest
NewSetRequest creates a new sdk request
func NewSetRequestFromURL ¶
func NewSetRequestFromURL(URL string) (*SetRequest, error)
NewSetRequestFromURL creates a new set request from URL
func (*SetRequest) Messages ¶
func (r *SetRequest) Messages() []*msg.Message
Items returns tag messages
func (*SetRequest) Validate ¶
func (r *SetRequest) Validate() error
Validate checks if request if valid
Source Files ¶
Click to show internal directories.
Click to hide internal directories.