cim

package
v0.0.0-...-371c99e Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CimClass

type CimClass struct {
	Property       map[string]PropertyStruct
	Method         map[string]MethodStruct
	ClassName      string
	SuperClassName string
	// contains filtered or unexported fields
}

func NewClass

func NewClass(endpoint string, username string, password string, keytab_file string) (*CimClass, error)

func (*CimClass) Get

func (c *CimClass) Get(namespace string, ClassName string) error

func (*CimClass) ProcessClass

func (c *CimClass) ProcessClass() error

func (*CimClass) String

func (c *CimClass) String() string

type MethodStruct

type MethodStruct struct {
	Name      string
	Type      string
	Parameter []ParameterStruct
}

type ParameterStruct

type ParameterStruct struct {
	Name string
	Type string
}

type PropertyStruct

type PropertyStruct struct {
	Name        string
	Type        string
	ClassOrigin string
	Propagated  bool
}

func (*PropertyStruct) ReadFromElement

func (p *PropertyStruct) ReadFromElement(e *etree.Element) error

func (*PropertyStruct) String

func (p *PropertyStruct) String() string

Jump to

Keyboard shortcuts

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