Documentation
¶
Index ¶
- Constants
- type AuthenticationProtocol
- type Body
- type Certificate
- type CredentialContext
- type IEEE8021xSettingsEnabled
- type IEEE8021xSettingsRequest
- type IEEE8021xSettingsResponse
- type PullResponse
- type Response
- type ServerCertificateNameComparison
- type SetCertificates_OUTPUT
- type Settings
- func (settings Settings) Enumerate() (response Response, err error)
- func (settings Settings) Get() (response Response, err error)
- func (settings Settings) Pull(enumerationContext string) (response Response, err error)
- func (settings Settings) Put(ieee8021xSettings IEEE8021xSettingsRequest) (response Response, err error)
- func (settings Settings) SetCertificates(serverCertificateIssuer, clientCertificate string) (response Response, err error)
Constants ¶
const ( IPS_IEEE8021xSettings string = "IPS_IEEE8021xSettings" IPS_8021xCredentialContext string = "IPS_8021xCredentialContext" SetCertificates string = "SetCertificates" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationProtocol ¶
type AuthenticationProtocol int
const ( AuthenticationProtocolEAPTLS AuthenticationProtocol = iota AuthenticationProtocolEAPTTLS_MSCHAPv2 AuthenticationProtocolPEAPv0_EAPMSCHAPv2 AuthenticationProtocolPEAPv1_EAPGTC AuthenticationProtocolEAPFAST_MSCHAPv2 AuthenticationProtocolEAPFAST_GTC AuthenticationProtocolEAP_MD5 AuthenticationProtocolEAP_PSK AuthenticationProtocolEAP_SIM AuthenticationProtocolEAP_AKA AuthenticationProtocolEAPFAST_TLS )
type Body ¶
type Body struct { XMLName xml.Name `xml:"Body"` PullResponse PullResponse EnumerateResponse common.EnumerateResponse IEEE8021xSettingsResponse IEEE8021xSettingsResponse SetCertificatesResponse SetCertificates_OUTPUT }
OUTPUT Response Types
type Certificate ¶
type Certificate struct { XMLName xml.Name `xml:"h:SetCertificates_INPUT"` H string `xml:"xmlns:h,attr"` ServerCertificateIssuer string `xml:"h:ServerCertificateIssuer"` ClientCertificate string `xml:"h:ClientCertificate"` }
INPUT Request Types
type CredentialContext ¶
type CredentialContext struct {
// contains filtered or unexported fields
}
Package Types
func NewIEEE8021xCredentialContextWithClient ¶
func NewIEEE8021xCredentialContextWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) CredentialContext
NewIEEE8021xCredentialContext returns a new instance of the IPS_8021xCredentialContext struct.
func (CredentialContext) Enumerate ¶
func (credentialContext CredentialContext) Enumerate() (response Response, err error)
Enumerate returns an enumeration context which is used in a subsequent Pull call
func (CredentialContext) Get ¶
func (credentialContext CredentialContext) Get() (response Response, err error)
Get retrieves the representation of the instance
type IEEE8021xSettingsEnabled ¶
type IEEE8021xSettingsEnabled int
const ( EnabledWithCertificates IEEE8021xSettingsEnabled = 2 Disabled IEEE8021xSettingsEnabled = 3 EnabledWithoutCertificates IEEE8021xSettingsEnabled = 6 )
type IEEE8021xSettingsRequest ¶
type IEEE8021xSettingsRequest struct { XMLName xml.Name `xml:"h:IEEE8021xSettingsInput,omitempty"` H string `xml:"xmlns:q,attr"` ElementName string `xml:"q:ElementName,omitempty"` InstanceID string `xml:"q:InstanceID,omitempty"` AuthenticationProtocol AuthenticationProtocol `xml:"q:AuthenticationProtocol"` RoamingIdentity string `xml:"q:RoamingIdentity,omitempty"` ServerCertificateName string `xml:"q:ServerCertificateName,omitempty"` ServerCertificateNameComparison ServerCertificateNameComparison `xml:"q:ServerCertificateNameComparison,omitempty"` Username string `xml:"q:Username,omitempty"` Password string `xml:"q:Password,omitempty"` Domain string `xml:"q:Domain,omitempty"` ProtectedAccessCredential string `xml:"q:ProtectedAccessCredential,omitempty"` PACPassword string `xml:"q:PACPassword,omitempty"` PSK string `xml:"q:PSK,omitempty"` Enabled IEEE8021xSettingsEnabled `json:"Enabled,omitempty"` PxeTimeout int `json:"PxeTimeout,omitempty"` AvailableInS0 bool `json:"AvailableInS0,omitempty"` }
INPUT Request Types
type IEEE8021xSettingsResponse ¶
type IEEE8021xSettingsResponse struct { XMLName xml.Name `xml:"IPS_IEEE8021xSettings"` ElementName string `xml:"ElementName"` InstanceID string `xml:"InstanceID"` Enabled int `xml:"Enabled"` AvailableInS0 bool `xml:"AvailableInS0"` PxeTimeout int `xml:"PxeTimeout"` }
OUTPUT Response Types
type PullResponse ¶
type PullResponse struct { XMLName xml.Name `xml:"PullResponse"` IEEE8021xSettingsItems []IEEE8021xSettingsResponse `xml:"Items>IPS_IEEE8021xSettings"` }
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 ServerCertificateNameComparison ¶
type ServerCertificateNameComparison int
ServerCertificateNameComparison represents the ServerCertificateNameComparison type for IEEE8021xProfile.
type SetCertificates_OUTPUT ¶
type SetCertificates_OUTPUT struct { XMLName xml.Name `xml:"SetCertificates_OUTPUT"` ReturnValue int }
OUTPUT Response Types
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
Package Types
func NewIEEE8021xSettingsWithClient ¶
func NewIEEE8021xSettingsWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Settings
NewIEEE8021xSettings returns a new instance of the IEEE8021xSettings struct.
func (Settings) Enumerate ¶
Enumerate returns an enumeration context which is used in a subsequent Pull call
func (Settings) Pull ¶
Pull returns the instances of this class. An enumeration context provided by the Enumerate call is used as input.