connector

package
v0.0.0-...-a0fe4de Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

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

func NewConnector

func NewConnector(host string, options Options) *Connector

func (*Connector) Delete

func (connector *Connector) Delete() error

func (*Connector) GetConfigs

func (connector *Connector) GetConfigs() (*InventoryConnector, error)

func (*Connector) Register

func (connector *Connector) Register(config map[string]interface{}) error

type InventoryConnector

type InventoryConnector struct {
	Name   string                 `json:"name"`
	Config map[string]interface{} `json:"config"`
}

type Options

type Options struct {
	Name string
}

Jump to

Keyboard shortcuts

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