Documentation ¶
Index ¶
Constants ¶
View Source
const ( CIM_WiFiEndpoint string = "CIM_WiFiEndpoint" CIM_WiFiEndpointSettings string = "CIM_WiFiEndpointSettings" CIM_WiFiPort string = "CIM_WiFiPort" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationMethod ¶
type AuthenticationMethod int
const ( AuthenticationMethod_Other AuthenticationMethod = iota + 1 AuthenticationMethod_OpenSystem AuthenticationMethod_WPA_PSK AuthenticationMethod_WPA_IEEE8021x AuthenticationMethod_WPA2_PSK AuthenticationMethod_WPA2_IEEE8021x AuthenticationMethod_DMTFReserved )
const ( AuthenticationMethod_WPA3_SAE AuthenticationMethod = iota + 32768 AuthenticationMethod_WPA3_OWE AuthenticationMethod_VendorReserved )
type Body ¶
type Body struct { XMLName xml.Name `xml:"Body"` WiFiPortGetResponse WiFiPort EnumerateResponse common.EnumerateResponse PullResponse PullResponse RequestStateChange_OUTPUT common.ReturnValue }
OUTPUT Response Types
type EncryptionMethod ¶
type EncryptionMethod int
const ( EncryptionMethod_Other EncryptionMethod = iota + 1 EncryptionMethod_WEP EncryptionMethod_TKIP EncryptionMethod_CCMP EncryptionMethod_None EncryptionMethod_DMTFReserved )
type EndpointSettings ¶
type EndpointSettings struct {
// contains filtered or unexported fields
}
func NewWiFiEndpointSettingsWithClient ¶
func NewWiFiEndpointSettingsWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) EndpointSettings
NewWiFiEndpointSettings returns a new instance of the WiFiEndpointSettings struct.
func (EndpointSettings) Delete ¶
func (endpointSettings EndpointSettings) Delete(handle string) (response Response, err error)
Delete removes a the specified instance
func (EndpointSettings) Enumerate ¶
func (endpointSettings EndpointSettings) Enumerate() (response Response, err error)
Enumerate returns an enumeration context which is used in a subsequent Pull call
type LinkTechnology ¶
type LinkTechnology int
const ( LinkTechnologyUnknown LinkTechnology = iota LinkTechnologyOther LinkTechnologyEthernet LinkTechnologyIB LinkTechnologyFC LinkTechnologyFDDI LinkTechnologyATM LinkTechnologyTokenRing LinkTechnologyFrameRelay LinkTechnologyInfrared LinkTechnologyBlueTooth LinkTechnologyWirelessLAN )
type Port ¶
type Port struct {
// contains filtered or unexported fields
}
func NewWiFiPortWithClient ¶
func NewWiFiPortWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Port
NewWiFiPort returns a new instance of the WiFiPort struct.
func (Port) Enumerate ¶
Enumerate returns an enumeration context which is used in a subsequent Pull call
type PullResponse ¶
type PullResponse struct { XMLName xml.Name `xml:"PullResponse"` EndpointSettingsItems []WiFiEndpointSettingsResponse `xml:"Items>CIM_WiFiEndpointSettings"` WiFiPortItems []WiFiPort `xml:"Items>CIM_WiFiPort"` }
OUTPUT Response Types
type Response ¶
type Response struct { *client.Message XMLName xml.Name `xml:"Envelope"` Header message.Header `xml:"Header"` Body Body `xml:"Body"` }
OUTPUT Response Types
type ReturnValue ¶
type ReturnValue int
const ( CompletedwithNoError ReturnValue = iota NotSupported UnknownorUnspecifiedError CannotcompletewithinTimeoutPeriod Failed InvalidParameter InUse )
const ( MethodParametersCheckedJobStarted ReturnValue = iota + 4096 InvalidStateTransition UseofTimeoutParameterNotSupported Busy )
type WiFiEndpointSettingsRequest ¶
type WiFiEndpointSettingsRequest struct { XMLName xml.Name `xml:"h:WiFiEndpointSettingsInput"` H string `xml:"xmlns:q,attr"` // SettingData ElementName string `xml:"q:ElementName,omitempty"` InstanceID string `xml:"q:InstanceID,omitempty"` AuthenticationMethod AuthenticationMethod `xml:"q:AuthenticationMethod,omitempty"` EncryptionMethod EncryptionMethod `xml:"q:EncryptionMethod,omitempty"` SSID string `xml:"q:SSID,omitempty"` // Max Length 32 Priority int `xml:"q:Priority,omitempty"` PSKPassPhrase string `xml:"q:PSKPassPhrase,omitempty"` // Min Length 8 Max Length 63 BSSType BSSType `xml:"q:BSSType,omitempty"` Keys []string `xml:"q:Keys,omitempty"` // OctetString ArrayType=Indexed Max Length 256 KeyIndex int `xml:"q:KeyIndex,omitempty"` PSKValue int `xml:"q:PSKValue,omitempty"` // OctetString }
INPUT Request Types
type WiFiEndpointSettingsResponse ¶
type WiFiEndpointSettingsResponse struct { XMLName xml.Name `xml:"CIM_WiFiEndpointSettings"` AuthenticationMethod AuthenticationMethod BSSType BSSType ElementName string EncryptionMethod EncryptionMethod InstanceID string Priority int SSID string }
OUTPUT Response Types
type WiFiEndpointSettings_INPUT ¶
type WiFiEndpointSettings_INPUT struct { XMLName xml.Name `xml:"CIM_WiFiEndpointSettings"` H string `xml:"xmlns:q,attr"` AuthenticationMethod AuthenticationMethod BSSType BSSType ElementName string EncryptionMethod EncryptionMethod InstanceID string Priority int SSID string }
INPUT Request Types
type WiFiPort ¶
type WiFiPort struct { XMLName xml.Name `xml:"CIM_WiFiPort"` LinkTechnology LinkTechnology DeviceID string CreationClassName string SystemName string SystemCreationClassName string ElementName string HealthState models.HealthState EnabledState models.EnabledState RequestedState models.RequestedState PortType int PermanentAddress string }
OUTPUT Response Types
Click to show internal directories.
Click to hide internal directories.