bookkeeping

package
v0.80.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BKP_RUN_TIMEOUT  = 30 * time.Second
	BKP_ENV_TIMEOUT  = 30 * time.Second
	BKP_FILL_TIMEOUT = 30 * time.Second
)

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(endpoint string) integration.Plugin

******************************************** Plugin and inherited methods Instanciation // ********************************************

Types

type Plugin

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

func (*Plugin) CallStack

func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{})

CallStack method, which adds functions to the call stack that can then be called under certain conditions via hooks and triggers in the readout-dataflow workflow

func (*Plugin) Destroy

func (p *Plugin) Destroy() error

func (*Plugin) GetConnectionState

func (p *Plugin) GetConnectionState() string

func (*Plugin) GetData

func (p *Plugin) GetData(_ []any) string

Make plugin-specific data across all instances available per data field

func (*Plugin) GetEndpoint

func (p *Plugin) GetEndpoint() string

func (*Plugin) GetEnvironmentsData added in v0.56.0

func (p *Plugin) GetEnvironmentsData(envIds []uid.ID) map[uid.ID]string

Make plugin-specific data across all instances available per environment

func (*Plugin) GetEnvironmentsShortData added in v0.79.0

func (p *Plugin) GetEnvironmentsShortData(envIds []uid.ID) map[uid.ID]string

func (*Plugin) GetName

func (p *Plugin) GetName() string

func (*Plugin) GetPrettyName

func (p *Plugin) GetPrettyName() string

func (*Plugin) Init

func (p *Plugin) Init(instanceId string) error

*********************************** Initialize the Bookkeeping client // ***********************************

func (*Plugin) ObjectStack

func (p *Plugin) ObjectStack(_ map[string]string, _ map[string]string) (stack map[string]interface{})

ObjectStack method

type RpcClient added in v0.56.0

type RpcClient struct {
	bkpb.EnvironmentServiceClient
	bkpb.FlpServiceClient
	bkpb.LogServiceClient
	bkpb.RunServiceClient
	bkpb.LhcFillServiceClient
	// contains filtered or unexported fields
}

func NewClient added in v0.56.0

func NewClient(cxt context.Context, cancel context.CancelFunc, endpoint string) *RpcClient

func (*RpcClient) Close added in v0.56.0

func (m *RpcClient) Close() error

func (*RpcClient) GetConnState added in v0.56.0

func (m *RpcClient) GetConnState() connectivity.State

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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