Documentation ¶
Overview ¶
Package models provides a set of utility types, constants, and functions that are used broadly across amt, cim, and ips packages
Index ¶
- Constants
- type AdditionalAvailabilityValues
- type Antecedent
- type AssociatedPowerManagementService
- type AssociationReference
- type AuthenticationProtocol
- type AuthenticationService
- type AvailabilityValues
- type BIOSElement
- type BootConfigSettingInstanceID
- type BootSettingData
- type BootSourceSetting
- type CIMAssociatedPowerManagementServiceItem
- type CIMSoftwareIdentityItem
- type CPUStatus
- type CapabilitiesValues
- type CharacterSet
- type Chassis
- type ChassisPackageType
- type Chip
- type Collection
- type CommunicationStatus
- type ConcreteJob
- type ConcreteJobState
- type Credential
- type CredentialContext
- type CredentialManagementService
- type DateTime
- type Dependent
- type DetailedStatus
- type Enabled
- type EnabledDefault
- type EnabledLogicalElement
- type EnabledState
- type EthernetPort
- type FailThroughSupported
- type HealthState
- type IEEE8021xSettings
- type Job
- type LastChange
- type LinkTechnology
- type LocalOrUtcTime
- type Log
- type LogState
- type LogicalDevice
- type LogicalElement
- type LogicalPort
- type ManagedElement
- type ManagedSystemElement
- type MessageLog
- type NetworkPort
- type NetworkPortConfigurationService
- type OperatingStatus
- type OperationalStatus
- type OverwritePolicy
- type PackageType
- type PhysicalComponent
- type PhysicalElement
- type PhysicalFrame
- type PhysicalPackage
- type PortType
- type PowerManagementCapabilitiesValues
- type PrimaryStatus
- type RecoveryAction
- type ReferenceParameters
- type ReferenceParameters_OUTPUT
- type ReferenceParmetersNoNamespace
- type RemovalConditions
- type RequestedState
- type Role
- type RoleCharacteristics
- type RunDayOfWeek
- type RunMonth
- type SecurityBreach
- type SecurityService
- type Selector
- type SelectorNoNamespace
- type SelectorSet
- type SelectorSet_OUTPUT
- type ServerCertificateNameComparison
- type Service
- type ServiceAccessPoint
- type ServiceAvailableToElement
- type ServicePhilosophy
- type ServiceProvider
- type SettingData
- type SharedCredential
- type SoftwareElement
- type SoftwareElementState
- type SoftwareIdentity
- type StatusInfoValues
- type SystemPackage
- type TargetOperatingSystem
- type UpgradeMethod
- type UsageRestriction
- type UserOfService
- type WiFiPort
Constants ¶
View Source
const ( UsageRestrictionUnknown int = iota UsageRestrictionFrontEndOnly UsageRestrictionBackEndOnly UsageRestrictionNotRestricted )
View Source
const ( PortTypeUnknown int = iota PortTypeOther PortTypeNotApplicable )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalAvailabilityValues ¶
type AdditionalAvailabilityValues int
const ( AdditionalAvailabilityOther AdditionalAvailabilityValues = iota + 1 AdditionalAvailabilityUnknown AdditionalAvailabilityRunningFullPower AdditionalAvailabilityWarning AdditionalAvailabilityInTest AdditionalAvailabilityNotApplicable AdditionalAvailabilityPowerOff AdditionalAvailabilityOffLine AdditionalAvailabilityOffDuty AdditionalAvailabilityDegraded AdditionalAvailabilityNotInstalled AdditionalAvailabilityInstallError AdditionalAvailabilityPowerSaveUnknown AdditionalAvailabilityPowerSaveLowPowerMode AdditionalAvailabilityPowerSaveStandby AdditionalAvailabilityPowerCycle AdditionalAvailabilityPowerSaveWarning AdditionalAvailabilityPaused AdditionalAvailabilityNotReady AdditionalAvailabilityNotConfigured AdditionalAvailabilityQuiesced )
type Antecedent ¶
type Antecedent struct { XMLName xml.Name `xml:"Antecedent,omitempty"` Address string `xml:"Address,omitempty"` ReferenceParameters ReferenceParameters }
type AssociatedPowerManagementService ¶
type AssociatedPowerManagementService struct { ServiceAvailableToElement CIMAssociatedPowerManagementService CIMAssociatedPowerManagementServiceItem }
type AssociationReference ¶
type AssociationReference struct { Address string `xml:"Address,omitempty"` ReferenceParameters ReferenceParmetersNoNamespace }
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 AuthenticationService ¶
type AuthenticationService struct {
SecurityService
}
type AvailabilityValues ¶
type AvailabilityValues int
const ( AvailabilityOther AvailabilityValues = iota + 1 AvailabilityUnknown AvailabilityRunningFullPower AvailabilityWarning AvailabilityInTest AvailabilityNotApplicable AvailabilityPowerOff AvailabilityOffLine AvailabilityOffDuty AvailabilityDegraded AvailabilityNotInstalled AvailabilityInstallError AvailabilityPowerSaveUnknown AvailabilityPowerSaveLowPowerMode AvailabilityPowerSaveStandby AvailabilityPowerCycle AvailabilityPowerSaveWarning AvailabilityPaused AvailabilityNotReady AvailabilityNotConfigured AvailabilityQuiesced )
type BIOSElement ¶
type BIOSElement struct { SoftwareElement PrimaryBIOS bool `xml:"PrimaryBIOS,omitempty"` ReleaseDate DateTime }
type BootConfigSettingInstanceID ¶
type BootConfigSettingInstanceID string
const ( ForceHardDriveBoot BootConfigSettingInstanceID = "Intel(r) AMT: Force Hard-drive Boot" ForceCD_DVDBoot BootConfigSettingInstanceID = "Intel(r) AMT: Force CD/DVD Boot" ForcePXEBoot BootConfigSettingInstanceID = "Intel(r) AMT: Force PXE Boot" ForceOCRUEFIHTTPSBoot BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI HTTPS Boot" ForceOCRUEFIBootOption1 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 1" ForceOCRUEFIBootOption2 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 2" ForceOCRUEFIBootOption3 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 3" ForceOCRUEFIBootOption4 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 4" ForceOCRUEFIBootOption5 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 5" ForceOCRUEFIBootOption6 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 6" ForceOCRUEFIBootOption7 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 7" ForceOCRUEFIBootOption8 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 8" ForceOCRUEFIBootOption9 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 9" ForceOCRUEFIBootOption10 BootConfigSettingInstanceID = "Intel(r) AMT: Force OCR UEFI Boot Option 10" )
type BootSettingData ¶
type BootSettingData struct { SettingData OwningEntity string `xml:"OwningEntity,omitempty"` // MaxLen=256 }
type BootSourceSetting ¶
type BootSourceSetting struct { SettingData StructuredBootString string `xml:"StructuredBootString,omitempty"` BIOSBootString string `xml:"BIOSBootString,omitempty"` BootString string `xml:"BootString,omitempty"` FailThroughSupported FailThroughSupported `xml:"FailThroughSupported,omitempty"` }
BootSourceSetting represents the boot source settings for a device.
type CIMAssociatedPowerManagementServiceItem ¶
type CIMAssociatedPowerManagementServiceItem struct { ServiceAvailableToElement AvailableRequestedPowerStates []string `xml:"AvailableRequestedPowerStates,omitempty"` PowerState string `xml:"PowerState,omitempty"` }
type CIMSoftwareIdentityItem ¶
type CIMSoftwareIdentityItem struct { LogicalElement InstanceID string `xml:"InstanceID,omitempty"` VersionString string `xml:"VersionString,omitempty"` IsEntity bool `xml:"IsEntity,omitempty"` }
type CapabilitiesValues ¶
type CapabilitiesValues int
const ( CapabilitiesUnknown CapabilitiesValues = iota CapabilitiesOther CapabilitiesWriteRecordSupported CapabilitiesDeleteRecordSupported CapabilitiesCanMoveBackwardInLog CapabilitiesFreezeLogSupported CapabilitiesClearLogSupported CapabilitiesSupportsAddressingByOrdinalRecordNumber CapabilitiesVariableLengthRecordsSupported CapabilitiesVariableFormatsForRecords CapabilitiesCanFlagRecordsForOverwrite )
type CharacterSet ¶
type CharacterSet int
const ( CharacterSetUnknown CharacterSet = iota CharacterSetOther CharacterSetASCII CharacterSetUnicode CharacterSetISO2022 CharacterSetISO8859 CharacterSetExtendedUNIXCode CharacterSetUTF8 CharacterSetUCS2 CharacterSetBitmappedData CharacterSetOctetString CharacterSetDefinedByIndividualRecords )
type Chassis ¶
type Chassis struct { PhysicalFrame ChassisPackageType ChassisPackageType `xml:"ChassisPackageType,omitempty"` }
type ChassisPackageType ¶
type ChassisPackageType int
type Chip ¶
type Chip struct {
PhysicalComponent
}
type Collection ¶
type Collection struct { XMLName xml.Name `xml:"CIM_Collection"` ManagedElement }
type CommunicationStatus ¶
type CommunicationStatus int
const ( UnknownCS CommunicationStatus = iota NotAvailableCS CommunicationOK LostCommunication NoContact )
type ConcreteJob ¶
type ConcreteJob struct { Job UntilTime DateTime `xml:"UntilTime,omitempty"` JobState ConcreteJobState `xml:"JobState,omitempty"` TimeOfLastStateChange DateTime `xml:"TimeOfLastStateChange,omitempty"` TimeBeforeRemoval DateTime `xml:"TimeBeforeRemoval,omitempty"` }
type ConcreteJobState ¶
type ConcreteJobState int
const ( ConcreteJobStateNew ConcreteJobState = 2 ConcreteJobStateStarting ConcreteJobState = 3 ConcreteJobStateRunning ConcreteJobState = 4 ConcreteJobStateSuspended ConcreteJobState = 5 ConcreteJobStateShuttingDown ConcreteJobState = 6 ConcreteJobStateCompleted ConcreteJobState = 7 ConcreteJobStateTerminated ConcreteJobState = 8 ConcreteJobStateKilled ConcreteJobState = 9 ConcreteJobStateException ConcreteJobState = 10 ConcreteJobStateService ConcreteJobState = 11 ConcreteJobStateQueryPending ConcreteJobState = 12 )
type Credential ¶
type Credential struct { ManagedElement Issued DateTime `xml:"Issued,omitempty"` // The date and time when the credential was issued. Default is current time Expires DateTime `xml:"Expires,omitempty"` // The date and time when the credential expires (and is not appropriate for use for authentication/authorization). Default is '99991231235959.999999+999' }
type CredentialContext ¶
type CredentialContext struct { ElementInContext Credential ElementProvidingContext ManagedElement }
type CredentialManagementService ¶
type CredentialManagementService struct { AuthenticationService // InstanceID is an optional property that may be used to opaquely and uniquely identify an instance of this class within the scope of the instantiating Namespace . . . InstanceID string // MaxLen=256 }
type Dependent ¶
type Dependent struct { XMLName xml.Name `xml:"Dependent,omitempty"` Address string `xml:"Address,omitempty"` ReferenceParameters ReferenceParameters }
type DetailedStatus ¶
type DetailedStatus int
const ( NotAvailableDS DetailedStatus = iota NoAdditionalInformation Stressed PredictiveFailure NonRecoverableError SupportingEntityInError )
type EnabledDefault ¶
type EnabledDefault int
const ( EnabledDefaultEnabled EnabledDefault = 2 EnabledDefaultDisabled EnabledDefault = 3 EnabledDefaultNotApplicable EnabledDefault = 5 EnabledDefaultEnabledbutOffline EnabledDefault = 6 EnabledDefaultNoDefault EnabledDefault = 7 EnabledDefaultQuiesce EnabledDefault = 9 )
type EnabledLogicalElement ¶
type EnabledLogicalElement struct { LogicalElement EnabledState EnabledState `xml:"EnabledState,omitempty"` OtherEnabledState string `xml:"OtherEnabledState,omitempty"` RequestedState RequestedState `xml:"RequestedState,omitempty"` EnabledDefault EnabledDefault `xml:"EnabledDefault,omitempty"` TimeOfLastStateChange DateTime }
type EnabledState ¶
type EnabledState int
const ( EnabledStateUnknown EnabledState = iota EnabledStateOther EnabledStateEnabled EnabledStateDisabled EnabledStateShuttingDown EnabledStateNotApplicable EnabledStateEnabledbutOffline EnabledStateInTest EnabledStateDeferred EnabledStateQuiesce EnabledStateStarting )
type EthernetPort ¶
type EthernetPort struct {
NetworkPort
}
type FailThroughSupported ¶
type FailThroughSupported int
const ( FailThroughSupportedUnknown FailThroughSupported = iota IsSupported NotSupported )
type HealthState ¶
type HealthState int
const ( HealthStateUnknown HealthState = 0 HealthStateOK HealthState = 5 HealthStateDegradedWarning HealthState = 10 HealthStateMinorFailure HealthState = 15 HealthStateMajorFailure HealthState = 20 HealthStateCriticalFailure HealthState = 25 HealthStateNonRecoverableError HealthState = 30 )
type IEEE8021xSettings ¶
type IEEE8021xSettings struct { XMLName xml.Name `xml:"h:IEEE8021xSettingsInput,omitempty"` H string `xml:"xmlns:q,attr"` ElementName string `xml:"ElementName,omitempty"` InstanceID string `xml:"InstanceID,omitempty"` AuthenticationProtocol AuthenticationProtocol `xml:"AuthenticationProtocol"` RoamingIdentity string `xml:"RoamingIdentity,omitempty"` ServerCertificateName string `xml:"ServerCertificateName,omitempty"` ServerCertificateNameComparison ServerCertificateNameComparison `xml:"ServerCertificateNameComparison,omitempty"` Username string `xml:"Username,omitempty"` Password string `xml:"Password,omitempty"` Domain string `xml:"Domain,omitempty"` ProtectedAccessCredential string `xml:"ProtectedAccessCredential,omitempty"` PACPassword string `xml:"PACPassword,omitempty"` PSK string `xml:"PSK,omitempty"` }
IEEE8021xSettings represents the IEEE 802.1x settings for a network interface.
type Job ¶
type Job struct { LogicalElement InstanceId string `xml:"InstanceId,omitempty"` CommunicationStatus CommunicationStatus `xml:"CommunicationStatus,omitempty"` DetailedStatus DetailedStatus `xml:"DetailedStatus,omitempty"` OperatingStatus OperatingStatus `xml:"OperatingStatus,omitempty"` PrimaryStatus PrimaryStatus `xml:"PrimaryStatus,omitempty"` JobStatus string `xml:"JobStatus,omitempty"` TimeSubmitted DateTime `xml:"TimeSubmitted,omitempty"` ScheduledStartTime DateTime `xml:"ScheduledStartTime,omitempty"` StartTime DateTime `xml:"StartTime,omitempty"` ElapsedTime DateTime `xml:"ElapsedTime,omitempty"` JobRunTimes int `xml:"JobRunTimes,omitempty"` RunMonth RunMonth `xml:"RunMonth,omitempty"` RunDay int `xml:"RunDay,omitempty"` RunDayOfWeek RunDayOfWeek `xml:"RunDayOfWeek,omitempty"` RunStartInterval DateTime `xml:"RunStartInterval,omitempty"` LocalOrUtcTime LocalOrUtcTime `xml:"LocalOrUtcTime,omitempty"` Notify string `xml:"Notify,omitempty"` Owner string `xml:"Owner,omitempty"` Priority int `xml:"Priority,omitempty"` PercentComplete int `xml:"PercentComplete,omitempty"` DeleteOnCompletion bool `xml:"DeleteOnCompletion,omitempty"` ErrorCode int `xml:"ErrorCode,omitempty"` ErrorDescription string `xml:"ErrorDescription,omitempty"` RecoveryAction RecoveryAction `xml:"RecoveryAction,omitempty"` OtherRecoveryAction string `xml:"OtherRecoveryAction,omitempty"` }
type LastChange ¶
type LastChange int
const ( LastChangeUnknown LastChange = iota LastChangeAdd LastChangeDelete LastChangeModify LastChangeLogCleared )
type LinkTechnology ¶
type LinkTechnology int
type Log ¶
type Log struct { EnabledLogicalElement MaxNumberOfRecords int `xml:"MaxNumberOfRecords,omitempty"` CurrentNumberOfRecords int `xml:"CurrentNumberOfRecords,omitempty"` OverwritePolicy OverwritePolicy `xml:"OverwritePolicy,omitempty"` LogState LogState `xml:"LogState,omitempty"` }
type LogicalDevice ¶
type LogicalDevice struct { EnabledLogicalElement EnabledLogicalElement SystemCreationClassName string `xml:"SystemCreationClassName,omitempty"` SystemName string `xml:"SystemName,omitempty"` CreationClassName string `xml:"CreationClassName,omitempty"` DeviceId string `xml:"DeviceId,omitempty"` PowerManagementSupported bool `xml:"PowerManagementSupported,omitempty"` PowerManagementCapabilities []PowerManagementCapabilitiesValues `xml:"PowerManagementCapabilities,omitempty"` Availability AvailabilityValues `xml:"Availability,omitempty"` StatusInfo StatusInfoValues `xml:"StatusInfo,omitempty"` LastErrorCode int `xml:"LastErrorCode,omitempty"` ErrorDescription string `xml:"ErrorDescription,omitempty"` ErrorCleared bool `xml:"ErrorCleared,omitempty"` OtherIdentifyingInfo []string `xml:"OtherIdentifyingInfo,omitempty"` PowerOnHours int `xml:"PowerOnHours,omitempty"` TotalPowerOnHours int `xml:"TotalPowerOnHours,omitempty"` IdentifyingDescriptions []string `xml:"IdentifyingDescriptions,omitempty"` AdditionalAvailability []AdditionalAvailabilityValues `xml:"AdditionalAvailability,omitempty"` MaxQuiesceTime int `xml:"MaxQuiesceTime,omitempty"` }
type LogicalElement ¶
type LogicalElement struct {
ManagedSystemElement
}
type LogicalPort ¶
type LogicalPort struct { LogicalDevice Speed int `xml:"Speed,omitempty"` MaxSpeed int `xml:"MaxSpeed,omitempty"` RequestedSpeed int `xml:"RequestedSpeed,omitempty"` UsageRestriction UsageRestriction `xml:"UsageRestriction,omitempty"` PortType PortType `xml:"PortType,omitempty"` OtherPortType string `xml:"OtherPortType,omitempty"` }
type ManagedElement ¶
type ManagedSystemElement ¶
type ManagedSystemElement struct { ManagedElement InstallDate DateTime `xml:"InstallDate,omitempty"` Name string `xml:"Name,omitempty"` OperationalStatus OperationalStatus `xml:"OperationalStatus,omitempty"` StatusDescriptions []string `xml:"Items>StatusDescriptions,omitempty"` Status string `xml:"Status,omitempty"` HealthState HealthState `xml:"HealthState,omitempty"` }
type MessageLog ¶
type MessageLog struct { Log CreationClassName string `xml:"CreationClassName,omitempty"` Capabilities []CapabilitiesValues `xml:"Capabilities,omitempty"` CapabilitiesDescriptions []string `xml:"CapabilitiesDescriptions,omitempty"` MaxLogSize int `xml:"MaxLogSize,omitempty"` SizeOfHeader int `xml:"SizeOfHeader,omitempty"` HeaderFormat string `xml:"HeaderFormat,omitempty"` MaxRecordSize int `xml:"MaxRecordSize,omitempty"` SizeOfRecordHeader int `xml:"SizeOfRecordHeader,omitempty"` RecordHeaderFormat string `xml:"RecordHeaderFormat,omitempty"` OtherPolicyDescription string `xml:"OtherPolicyDescription,omitempty"` TimeWhenOutdated DateTime `xml:"TimeWhenOutdated,omitempty"` PercentageNearFull int `xml:"PercentageNearFull,omitempty"` LastChange LastChange `xml:"LastChange,omitempty"` TimeOfLastChange DateTime `xml:"TimeOfLastChange,omitempty"` RecordLastChanged int `xml:"RecordLastChanged,omitempty"` IsFrozen bool `xml:"IsFrozen,omitempty"` CharacterSet CharacterSet `xml:"CharacterSet,omitempty"` }
type NetworkPort ¶
type NetworkPort struct { LogicalPort PortNumber int LinkTechnology LinkTechnology `xml:"LinkTechnology,omitempty"` OtherLinkTechnology string `xml:"OtherLinkTechnology,omitempty"` PermanentAddress string `xml:"PermanentAddress,omitempty"` NetworkAddresses []string `xml:"NetworkAddresses,omitempty"` FullDuplex bool `xml:"FullDuplex,omitempty"` AutoSense bool `xml:"AutoSense,omitempty"` SupportedMaximumTransmissionUnit int `xml:"SupportedMaximumTransmissionUnit,omitempty"` ActiveMaximumTransmissionUnit int `xml:"OtherActiveMaximumTransmissionUnitPortType,omitempty"` }
type NetworkPortConfigurationService ¶
type NetworkPortConfigurationService struct {
Service
}
type OperatingStatus ¶
type OperatingStatus int
const ( UnknownOS OperatingStatus = iota NotAvailableOS Servicing Starting Stopping Stopped Aborted Dormant Completed Migrating Emigrating Immigrating Snapshotting ShuttingDown InTest Transitioning InService )
type OperationalStatus ¶
type OperationalStatus int
const ( OperationalStatusUnknown OperationalStatus = iota OperationalStatusOther OperationalStatusOK OperationalStatusDegraded OperationalStatusStressed OperationalStatusPredictiveFailure OperationalStatusError OperationalStatusNonRecoverableError OperationalStatusStarting OperationalStatusStopping OperationalStatusStopped OperationalStatusInService OperationalStatusNoContact OperationalStatusLostCommunication OperationalStatusAborted OperationalStatusDormant OperationalStatusSupportingEntityinError OperationalStatusCompleted OperationalStatusPowerMode OperationalStatusRelocating )
type OverwritePolicy ¶
type OverwritePolicy int
const ( OverwritePolicyUnknown OverwritePolicy = 0 OverwritePolicyWrapsWhenFull OverwritePolicy = 2 OverwritePolicyNeverOverwrites OverwritePolicy = 7 )
type PackageType ¶
type PackageType int
type PhysicalComponent ¶
type PhysicalComponent struct { PhysicalElement RemovalConditions RemovalConditions `xml:"RemovalConditions,omitempty"` Removable bool `xml:"Removable,omitempty"` Replaceable bool `xml:"Replaceable,omitempty"` HotSwappable bool `xml:"HotSwappable,omitempty"` }
type PhysicalElement ¶
type PhysicalElement struct { ManagedSystemElement Tag string `xml:"Tag,omitempty"` // MaxLen=256 CreationClassName string `xml:"CreationClassName,omitempty"` // MaxLen=256 Manufacturer string `xml:"Manufacturer,omitempty"` // MaxLen=256 Model string `xml:"Model,omitempty"` // MaxLen=256 Sku string `xml:"Sku,omitempty"` // MaxLen=64 SerialNumber string `xml:"SerialNumber,omitempty"` // MaxLen=256 Version string `xml:"Version,omitempty"` // MaxLen=64 PartNumber string `xml:"PartNumber,omitempty"` // MaxLen=256 OtherIdentifyingInfo string `xml:"OtherIdentifyingInfo,omitempty"` // MaxLen=256 PoweredOn bool `xml:"PoweredOn,omitempty"` ManufactureDate DateTime `xml:"ManufactureDate,omitempty"` VendorEquipmentType string `xml:"VendorEquipmentType,omitempty"` // MaxLen=256 UserTracking string `xml:"UserTracking,omitempty"` // MaxLen=256 CanBeFRUed bool `xml:"CanBeFRUed,omitempty"` }
type PhysicalFrame ¶
type PhysicalFrame struct { PhysicalPackage VendorCompatibilityStrings []string `xml:"VendorCompatibilityStrings,omitempty"` OtherPackageType string `xml:"OtherPackageType,omitempty"` Weight int `xml:"Weight,omitempty"` Width int `xml:"Width,omitempty"` Depth int `xml:"Depth,omitempty"` Height int `xml:"Height,omitempty"` RemovalConditions RemovalConditions `xml:"RemovalConditions,omitempty"` Removable bool `xml:"Removable,omitempty"` Replaceable bool `xml:"Replaceable,omitempty"` HotSwappable bool `xml:"HotSwappable,omitempty"` CableManagementStrategy string `xml:"CableManagementStrategy,omitempty"` ServicePhilosophy ServicePhilosophy `xml:"ServicePhilosophy,omitempty"` ServiceDescriptions []string `xml:"ServiceDescriptions,omitempty"` LockPresent bool `xml:"LockPresent,omitempty"` AudibleAlarm bool `xml:"AudibleAlarm,omitempty"` VisibleAlarm bool `xml:"VisibleAlarm,omitempty"` SecurityBreach SecurityBreach `xml:"SecurityBreach,omitempty"` BreachDescription string `xml:"BreachDescription,omitempty"` IsLocked bool `xml:"IsLocked,omitempty"` }
type PhysicalPackage ¶
type PhysicalPackage struct { PhysicalElement PackageType PackageType `xml:"PackageType,omitempty"` }
type PowerManagementCapabilitiesValues ¶
type PowerManagementCapabilitiesValues int
const ( PowerManagementCapabilitiesUnknown PowerManagementCapabilitiesValues = iota PowerManagementCapabilitiesNotSupported PowerManagementCapabilitiesDisabled PowerManagementCapabilitiesEnabled PowerManagementCapabilitiesPowerSavingModesEnteredAutomatically PowerManagementCapabilitiesPowerStateSettable PowerManagementCapabilitiesPowerCyclingSupported PowerManagementCapabilitiesTimedPowerOnSupported )
type PrimaryStatus ¶
type PrimaryStatus int
const ( UnknownPS PrimaryStatus = iota OK Degraded ErrorPS )
type RecoveryAction ¶
type RecoveryAction int
const ( UnknownRA RecoveryAction = iota Other DoNotContinue ContinueWithNextJob RerunJob RunRecoveryJob )
type ReferenceParameters ¶
type ReferenceParameters struct { XMLName xml.Name `xml:"ReferenceParameters"` H string `xml:"xmlns:c,attr"` ResourceURI string `xml:"c:ResourceURI,omitempty"` SelectorSet SelectorSet `xml:"c:SelectorSet,omitempty"` }
type ReferenceParameters_OUTPUT ¶
type ReferenceParameters_OUTPUT struct { ResourceURI string `xml:"ResourceURI,omitempty"` SelectorSet SelectorSet_OUTPUT `xml:"SelectorSet,omitempty"` }
type ReferenceParmetersNoNamespace ¶
type ReferenceParmetersNoNamespace struct { ResourceURI string `xml:"ResourceURI,omitempty"` SelectorSet []SelectorNoNamespace `xml:"SelectorSet>Selector,omitempty"` }
func (*ReferenceParmetersNoNamespace) GetSelectorValue ¶
func (rp *ReferenceParmetersNoNamespace) GetSelectorValue(name string) string
GetSelectorValue returns the Value property of a selector found in a SelectorSet based on the selector name
func (*ReferenceParmetersNoNamespace) HasSelector ¶
func (rp *ReferenceParmetersNoNamespace) HasSelector(name string, value string) bool
HasSelector checks the SelectorSet and returns true if the SelectorSet contains a Selector
type RemovalConditions ¶
type RemovalConditions int
const ( RemovalConditions_Unknown RemovalConditions = 0 RemovalConditions_NotApplicable RemovalConditions = 2 RemovalConditions_RemovableWhenOff RemovalConditions = 3 RemovalConditions_RemovableWhenOnOrOff RemovalConditions = 4 )
type RequestedState ¶
type RequestedState int
const ( RequestedStateEnabled RequestedState = iota + 2 RequestedStateDisabled RequestedStateShutDown RequestedStateNoChange RequestedStateOffline RequestedStateTest RequestedStateDeferred RequestedStateQuiesce RequestedStateReboot RequestedStateReset RequestedStateNotApplicable RequestedStateUnknown RequestedState = 0 )
type Role ¶
type Role struct { XMLName xml.Name `xml:"CIM_Role"` Collection CreationClassName string `xml:"CreationClassName,omitempty"` Name string `xml:"Name,omitempty"` CommonName string `xml:"CommonName,omitempty"` RoleCharacteristics []RoleCharacteristics `xml:"RoleCharacteristics,omitempty"` }
type RoleCharacteristics ¶
type RoleCharacteristics int
const ( RoleCharacteristicsStatic RoleCharacteristics = 2 RoleCharacteristicsOpaque RoleCharacteristics = 3 )
type RunDayOfWeek ¶
type RunDayOfWeek int
const ( SaturdayNegative RunDayOfWeek = iota - 7 FridayNegative ThursdayNegative WednesdayNegative TuesdayNegative MondayNegative SundayNegative ExactDayOfMonth Sunday Monday Tuesday Wednesday Thursday Friday Saturday )
type SecurityBreach ¶
type SecurityBreach int
type SecurityService ¶
type SecurityService struct {
Service
}
type SelectorNoNamespace ¶
type SelectorSet ¶
type SelectorSet_OUTPUT ¶
type SelectorSet_OUTPUT struct { XMLName xml.Name `xml:"SelectorSet,omitempty"` Selector []message.Selector_OUTPUT }
type ServerCertificateNameComparison ¶
type ServerCertificateNameComparison int
ServerCertificateNameComparison represents the ServerCertificateNameComparison type for IEEE8021xProfile.
type Service ¶
type Service struct { EnabledLogicalElement SystemCreationClassName string `xml:"SystemCreationClassName,omitempty"` SystemName string `xml:"SystemName,omitempty"` CreationClassName string `xml:"CreationClassName,omitempty"` PrimaryOwnerName string `xml:"PrimaryOwnerName,omitempty"` PrimaryOwnerContact string `xml:"PrimaryOwnerContact,omitempty"` StartMode string `xml:"StartMode,omitempty"` Started bool `xml:"Started,omitempty"` }
type ServiceAccessPoint ¶
type ServiceAccessPoint struct { EnabledLogicalElement EnabledLogicalElement SystemCreationClassName string `xml:"SystemCreationClassName,omitempty"` SystemName string `xml:"SystemName,omitempty"` CreationClassName string `xml:"CreationClassName,omitempty"` }
type ServiceAvailableToElement ¶
type ServiceAvailableToElement struct { ServiceProvided ServiceProvider UserOfService UserOfService }
type ServicePhilosophy ¶
type ServicePhilosophy int
type ServiceProvider ¶
type ServiceProvider struct { Address string `xml:"Address,omitempty"` ReferenceParameters ReferenceParameters }
type SettingData ¶
type SettingData struct { XMLName xml.Name `xml:"CIM_SettingData"` ManagedElement InstanceID string `xml:"InstanceID,omitempty"` // MaxLen=256 }
type SharedCredential ¶
type SharedCredential struct {}
SharedCredential represents a shared credential for a device.
type SoftwareElement ¶
type SoftwareElement struct { LogicalElement Version string `xml:"Version,omitempty"` SoftwareElementState SoftwareElementState `xml:"SoftwareElementState,omitempty"` SoftwareElementId string `xml:"SoftwareElementId,omitempty"` TargetOperatingSystem TargetOperatingSystem `xml:"TargetOperatingSystem,omitempty"` OtherTargetOs string `xml:"OtherTargetOs,omitempty"` Manufacturer string `xml:"Manufacturer,omitempty"` BuildNumber string `xml:"BuildNumber,omitempty"` SerialNumber string `xml:"SerialNumber,omitempty"` CodeSet string `xml:"CodeSet,omitempty"` IdentificationCode string `xml:"IdentificationCode,omitempty"` LanguageEdition string `xml:"LanguageEdition,omitempty"` }
type SoftwareElementState ¶
type SoftwareElementState int
type SoftwareIdentity ¶
type SoftwareIdentity struct { LogicalElement CIMSoftwareIdentity []CIMSoftwareIdentityItem }
type StatusInfoValues ¶
type StatusInfoValues int
const ( StatusInfoOther StatusInfoValues = iota + 1 StatusInfoUnknown StatusInfoEnabled StatusInfoDisabled StatusInfoNotApplicable )
type SystemPackage ¶
type SystemPackage struct { Antecedent Antecedent Dependent Dependent PlatformGUID string `xml:"PlatformGUID,omitempty"` }
type TargetOperatingSystem ¶
type TargetOperatingSystem int
type UpgradeMethod ¶
type UpgradeMethod int
const ( UpgradeMethodOther UpgradeMethod = iota + 1 UpgradeMethodUnknown UpgradeMethodDaughterBoard UpgradeMethodZIFSocket UpgradeMethodReplacementPiggyBack UpgradeMethodNone UpgradeMethodLIFSocket UpgradeMethodSlot1 UpgradeMethodSlot2 UpgradeMethod370PinSocket UpgradeMethodSlotA UpgradeMethodSlotM UpgradeMethodSocket423 UpgradeMethodSocketA UpgradeMethodSocket478 UpgradeMethodSocket754 UpgradeMethodSocket940 UpgradeMethodSocket939 UpgradeMethodSocketmPGA604 UpgradeMethodSocketLGA771 UpgradeMethodSocketLGA775 UpgradeMethodSocketS1 UpgradeMethodSocketAM2 UpgradeMethodSocketF1207 UpgradeMethodSocketLGA1366 UpgradeMethodSocketG34 UpgradeMethodSocketAM3 UpgradeMethodSocketC32 UpgradeMethodSocketLGA1156 UpgradeMethodSocketLGA1567 UpgradeMethodSocketPGA988A UpgradeMethodSocketBGA1288 UpgradeMethodrPGA988B UpgradeMethodBGA1023 UpgradeMethodBGA1224 UpgradeMethodLGA1155 UpgradeMethodLGA1356 UpgradeMethodLGA2011 UpgradeMethodSocketFS1 UpgradeMethodSocketFS2 UpgradeMethodSocketFM1 UpgradeMethodSocketFM2 UpgradeMethodSocketLGA20113 UpgradeMethodSocketLGA13563 UpgradeMethodSocketLGA1150 UpgradeMethodSocketBGA1168 UpgradeMethodSocketBGA1234 UpgradeMethodSocketBGA1364 UpgradeMethodSocketAM4 UpgradeMethodSocketLGA1151 UpgradeMethodSocketBGA1356 UpgradeMethodSocketBGA1440 UpgradeMethodSocketBGA1515 UpgradeMethodSocketLGA36471 UpgradeMethodSocketSP3 UpgradeMethodSocketSP3r2 UpgradeMethodSocketLGA2066 UpgradeMethodSocketBGA1392 UpgradeMethodSocketBGA1510 UpgradeMethodSocketBGA1528 UpgradeMethodSocketLGA4189 UpgradeMethodSocketLGA1200 UpgradeMethodSocketLGA4677 UpgradeMethodSocketLGA1700 UpgradeMethodSocketBGA1744 UpgradeMethodSocketBGA1781 UpgradeMethodSocketBGA1211 UpgradeMethodSocketBGA2422 UpgradeMethodSocketLGA1211 UpgradeMethodSocketLGA2422 UpgradeMethodSocketLGA5773 UpgradeMethodSocketBGA5773 )
type UsageRestriction ¶
type UsageRestriction int
type UserOfService ¶
type UserOfService struct { Address string `xml:"Address,omitempty"` ReferenceParameters ReferenceParameters }
type WiFiPort ¶
type WiFiPort struct {
NetworkPort
}
Click to show internal directories.
Click to hide internal directories.