Documentation ¶
Overview ¶
********************************************************************
- Copyright (c) Intel Corporation 2024
- SPDX-License-Identifier: Apache-2.0 *********************************************************************
Index ¶
Constants ¶
View Source
const ContentType = "application/soap+xml; charset=utf-8"
View Source
const NS_WSMAN = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
View Source
const NS_WSMID = "http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd"
View Source
const NonTLSPort = "16992"
View Source
const TLSPort = "16993"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameters ¶
type Parameters struct { Target string Username string Password string UseDigest bool UseTLS bool SelfSignedAllowed bool LogAMTMessages bool }
Parameters struct defines the connection settings for wsman client
type Target ¶
Target is a thin wrapper around http.Target.
func NewWsman ¶
func NewWsman(cp Parameters) *Target
type WsTransport ¶
type WsTransport struct {
// contains filtered or unexported fields
}
WsTransport is an implementation of http.Transport which uses websocket relay
Click to show internal directories.
Click to hide internal directories.