{"modulePath":"github.com/AliceO2Group/Control","version":"v1.51.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package bookkeeping\n\nPackage bookkeeping provides integration with the ALICE Bookkeeping system for tracking runs and retrieving LHC fill information.\n\n## Constants\n\n```go\nconst (\n\tBKP_RUN_TIMEOUT  = 30 * time.Second\n\tBKP_ENV_TIMEOUT  = 30 * time.Second\n\tBKP_FILL_TIMEOUT = 30 * time.Second\n)\n```\n\n## Functions\n\n```go\nfunc NewPlugin(endpoint string) integration.Plugin\n```\n\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\* Plugin and inherited methods Instanciation // \\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\n\n## Types\n\n```go\ntype Plugin struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (p *Plugin) CallStack(data interface{}) (stack map[string]interface{})\n```\nCallStack 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\n\n```go\nfunc (p *Plugin) Destroy() error\n```\n\n```go\nfunc (p *Plugin) GetConnectionState() string\n```\n\n```go\nfunc (p *Plugin) GetData(_ []any) string\n```\nMake plugin-specific data across all instances available per data field\n\n```go\nfunc (p *Plugin) GetEndpoint() string\n```\n\n```go\nfunc (p *Plugin) GetEnvironmentsData(envIds []uid.ID) map[uid.ID]string\n```\nMake plugin-specific data across all instances available per environment\n\n```go\nfunc (p *Plugin) GetEnvironmentsShortData(envIds []uid.ID) map[uid.ID]string\n```\n\n```go\nfunc (p *Plugin) GetName() string\n```\n\n```go\nfunc (p *Plugin) GetPrettyName() string\n```\n\n```go\nfunc (p *Plugin) Init(instanceId string) error\n```\n\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\* Initialize the Bookkeeping client // \\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\n\n```go\nfunc (p *Plugin) ObjectStack(_ map[string]string, _ map[string]string) (stack map[string]interface{})\n```\nObjectStack method\n\n```go\ntype RpcClient struct {\n\tbkpb.EnvironmentServiceClient\n\tbkpb.FlpServiceClient\n\tbkpb.LogServiceClient\n\tbkpb.RunServiceClient\n\tbkpb.LhcFillServiceClient\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewClient(cxt context.Context, cancel context.CancelFunc, endpoint string) *RpcClient\n```\n\n```go\nfunc (m *RpcClient) Close() error\n```\n\n```go\nfunc (m *RpcClient) GetConnState() connectivity.State\n```\n\n","path":"github.com/AliceO2Group/Control/core/integration/bookkeeping","name":"bookkeeping","synopsis":"Package bookkeeping provides integration with the ALICE Bookkeeping system for tracking runs and retrieving LHC fill information.","isRedistributable":true}
