Documentation ¶
Overview ¶
Package concrete facilitates communication with Intel® AMT devices and is a generic association used to establish dependency relationships between ManagedElements.
It is defined as a concrete subclass of the abstract CIM_Dependency class, to be used in place of many specific subclasses of Dependency that add no semantics, that is subclasses that do not clarify the type of dependency, update cardinalities, or add or remove qualifiers. Note that when you define additional semantics for Dependency, this class must not be subclassed. Specific semantics continue to be defined as subclasses of the abstract CIM_Dependency. ConcreteDependency is limited in its use as a concrete form of a general dependency.
It was deemed more prudent to create this concrete subclass than to change Dependency from an abstract to a concrete class. Dependency already had multiple abstract subclasses in the CIM Schema, and wider industry usage and impact could not be anticipated.
Index ¶
Constants ¶
const CIMConcreteDependency string = "CIM_ConcreteDependency"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct { XMLName xml.Name `xml:"Body"` PullResponse PullResponse EnumerateResponse common.EnumerateResponse }
Response Types.
type ConcreteDependency ¶
type ConcreteDependency struct { Antecedent models.AssociationReference `xml:"Antecedent"` // Antecedent represents the independent object in this association. Dependent models.AssociationReference `xml:"Dependent"` // Dependent represents the object that is dependent on the Antecedent. }
Response Types.
type Dependency ¶
type Dependency struct {
// contains filtered or unexported fields
}
func NewDependencyWithClient ¶
func NewDependencyWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Dependency
NewDependency returns a new instance of the NewDependency struct. should be NewDependency() because concrete is scoped already as package name.
func (Dependency) Enumerate ¶
func (dependency Dependency) Enumerate() (response Response, err error)
Enumerate the instances of this class.
type PullResponse ¶
type PullResponse struct { XMLName xml.Name `xml:"PullResponse"` Items []ConcreteDependency `xml:"Items>CIM_ConcreteDependency"` }
Response Types.