discoverymgr

package
v0.0.0-...-707febc Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package discoverymgr provides functions to register local device to network and find other orchestration devices

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery interface {
	StartDiscovery(UUIDpath string, platform string, executionType string) error
	StopDiscovery()
	DeleteDeviceWithIP(targetIP string)
	DeleteDeviceWithID(ID string)
	AddNewServiceName(serviceName string) error
	RemoveServiceName(serviceName string) error
	ResetServiceName()
}

Discovery is the interface implementedy by all discovery functions

func GetInstance

func GetInstance() Discovery

GetInstance returns discovery instaance

type ExportDeviceMap

type ExportDeviceMap map[string]OrchestrationInformation

ExportDeviceMap gives device info map for discoverymgr user

type OrchestrationInformation

type OrchestrationInformation struct {
	Platform      string `json:"Platform"`
	ExecutionType string `json:"ExecutionType"`

	//interface-ip 형태의 구조체 리스트로.
	IPv4 []string `json:"IPv4"`
	// IPv6     []string   `json:"IPv6"`
	ServiceList []string `json:"ServiceList"`
}

OrchestrationInformation is the struct to handle orchestration

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package wrapper serves wrapper functions of zeroconf for orchestration
Package wrapper serves wrapper functions of zeroconf for orchestration
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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