sync_service

package
v3.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const CSS_NAME = "css-api"
View Source
const ESS_NAME = "ess-api"
View Source
const LABEL_PREFIX = "openhorizon.hzn-dev"
View Source
const MONGO_NAME = "mongo"
View Source
const NETWORK_NAME = "hzn-dev"

Variables

This section is empty.

Functions

func ObjectDelete

func ObjectDelete(org string, userPw string, objType string, objId string)

Upload an object to the MMS. The user can provide a copy of the object's metadata in a file, or they can simply provide object id and type.

func ObjectList

func ObjectList(org string, userPw string, objType string, objId string, details bool)

Display the object metadata for a given object in the MMS.

func ObjectNew

func ObjectNew(org string)

func ObjectPublish

func ObjectPublish(org string, userPw string, objType string, objId string, objPattern string, objMetadataFile string, objFile string)

Upload an object to the MMS. The user can provide a copy of the object's metadata in a file, or they can simply provide object id and type.

func Start

func Start(cw *container.ContainerWorker, org string, configFiles []string, configType string) error

func Status

func Status(org string, userPw string)

func Stop

func Stop(dc *docker.Client) error

Types

type MMSHealth

type MMSHealth struct {
	General  common.HealthStatusInfo   `json:"general"`
	DBHealth common.DBHealthStatusInfo `json:"dbHealth"`
}

type MMSObjectInfo

type MMSObjectInfo struct {
	Definition   common.MetaData             `json:"definition"`
	Destinations []common.DestinationsStatus `json:"destinations,omitempty"`
}

Jump to

Keyboard shortcuts

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