concrete

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_ConcreteDependency 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"`
	Dependent  models.AssociationReference `xml:"Dependent"`
}

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

func (Dependency) Pull

func (dependency Dependency) Pull(enumerationContext string) (response Response, err error)

Pull instances of this class, following an Enumerate operation

type PullResponse

type PullResponse struct {
	XMLName xml.Name             `xml:"PullResponse"`
	Items   []ConcreteDependency `xml:"Items>CIM_ConcreteDependency"`
}

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

Jump to

Keyboard shortcuts

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