ieee8021x

package
v2.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CIM_IEEE8021xSettings string = "CIM_IEEE8021xSettings"

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	XMLName           xml.Name `xml:"Body"`
	EnumerateResponse common.EnumerateResponse
	PullResponse      PullResponse `xml:"PullResponse"`
	GetResponse       IEEE8021xSettingsResponse
}

Response Types

type IEEE8021xSettingsRequest

type IEEE8021xSettingsRequest struct {
	H             string   `xml:"xmlns:w,attr"`
	XMLName       xml.Name `xml:"CIM_IEEE8021xSettings"`
	ElementName   string   `xml:"w:ElementName"`
	InstanceID    string   `xml:"w:InstanceID"`
	Enabled       int      `xml:"w:Enabled"`
	AvailableInS0 bool     `xml:"w:AvailableInS0"`
	PxeTimeout    int      `xml:"w:PxeTimeout"`
}

type IEEE8021xSettingsResponse

type IEEE8021xSettingsResponse ieee8021x.IEEE8021xSettingsResponse // calls return IPS version of IEEE8021xSettings

Response Types

type PullResponse

type PullResponse struct {
	XMLName                xml.Name                    `xml:"PullResponse"`
	IEEE8021xSettingsItems []IEEE8021xSettingsResponse `xml:"Items>IPS_IEEE8021xSettings"`
}

Response Types

type Response

type Response struct {
	*client.Message
	XMLName xml.Name       `xml:"Envelope"`
	Header  message.Header `xml:"Header"`
	Body    Body           `xml:"Body"`
}

Response Types

func (*Response) JSON

func (r *Response) JSON() string

JSON marshals the type into JSON format

func (*Response) YAML

func (r *Response) YAML() string

YAML marshals the type into YAML format

type Settings

type Settings struct {
	// contains filtered or unexported fields
}

func NewIEEE8021xSettingsWithClient

func NewIEEE8021xSettingsWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Settings

NewIEEE8021xSettings returns a new instance of the IEEE8021xSettings struct.

func (Settings) Enumerate

func (settings Settings) Enumerate() (response Response, err error)

Enumerate returns an enumeration context which is used in a subsequent Pull call

func (Settings) Pull

func (settings Settings) Pull(enumerationContext string) (response Response, err error)

Pull returns the instances of this class. An enumeration context provided by the Enumerate call is used as input.

type Time

type Time struct {
	DateTime string `xml:"Datetime"`
}

Response Types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL