services

package
v0.2.1-develop.122 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: BSD-3-Clause Imports: 0 Imported by: 10

Documentation

Overview

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerService

type ContainerService interface {
	GetDataService() DataService
	GetEventService() EventService
	GetLogService() LogService
}

type DataService

type DataService interface {
	PutState(assetName string, assetKey string, assetValue map[string]interface{}, secondaryCompKeys interface{}) error
	GetState(assetName string, assetKey string, keyValue map[string]interface{}) ([]byte, error)
	DeleteState(assetName string, assetKey string, keyValue map[string]interface{}, secondaryCompKeys interface{}) ([]byte, error)
	LookupState(assetName string, assetKey string, lookupKey string, lkupKeyValue map[string]interface{}) ([][]byte, error)
	GetHistory(assetName string, assetKey string, keyValue map[string]interface{}) ([][]byte, error)
	QueryState(query string) ([][]byte, error)
}

type EventService

type EventService interface {
	Publish(evtName, metadata string, evtPayload []byte) error
}

type LogService

type LogService interface {
	Debug(msg string)
	Info(msg string)
	Warning(msg string)
	Error(errCode string, msg string, err error)
}

Jump to

Keyboard shortcuts

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