spanneti

package
v0.0.0-...-a016372 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const TAG_NAME = "spanneti"

Variables

View Source
var (
	GIT_BRANCH     string
	GIT_COMMIT_NUM string
	GIT_COMMIT     string
	CHANGED        string
)

Functions

func VerifyPlugin

func VerifyPlugin(plugin *Plugin) error

Types

type Plugin

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

type Spanneti

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

func New

func New() Spanneti

func (Spanneti) GetAllDataFor

func (spanneti Spanneti) GetAllDataFor(plugin string) interface{}

func (Spanneti) GetContainerNetwork

func (net Spanneti) GetContainerNetwork(containerId string) (graph.ContainerNetwork, bool, error)

func (Spanneti) GetContainerPid

func (spanneti Spanneti) GetContainerPid(containerId graph.ContainerID) (int, error)

func (Spanneti) GetRelatedTo

func (spanneti Spanneti) GetRelatedTo(plugin, key string, value interface{}) interface{}

func (Spanneti) LoadPlugin

func (s Spanneti) LoadPlugin(name string, dataType reflect.Type, startCallback func(), eventCallback func(key string, value interface{}), httpHandler http.Handler)

func (Spanneti) RemoveContainer

func (net Spanneti) RemoveContainer(containerId string) graph.ContainerNetwork

func (Spanneti) Start

func (s Spanneti) Start()

func (Spanneti) UpdateContainer

func (net Spanneti) UpdateContainer(containerId string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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