flowgrpc

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MetricFlowStatus is the metric name for the Flow gRPC health status
	MetricFlowStatus = "flow_grpc_health_status"
)

Variables

View Source
var ManagerAccess *Manager.ManagerAccess

ManagerAccess - access to all managers

Functions

This section is empty.

Types

type API

type API struct{} //nolint:all

API - all API interface

func NewFlowGrpcManager

func NewFlowGrpcManager(superForge *elektratypes.Elektra, superAPI *Manager.ManagerAPI, superConf *Manager.ManagerConf) *API

NewFlowGrpcManager - returns a new instance of helm manager

func (*API) CreateGrpcClient

func (flowgrpc *API) CreateGrpcClient() error

CreateGrpcClient creates the Flow gRPC client, this is called at Site Agent startup and will be retried until it succeeds

func (*API) GetGrpcClient

func (flowgrpc *API) GetGrpcClient() *client.FlowGrpcClient

GetGrpcClient gets the Flow gRPC client

func (*API) GetGrpcClientVersion

func (flowgrpc *API) GetGrpcClientVersion() int64

GetGrpcClientVersion returns the current version of the Flow gRPC client

func (*API) GetState

func (flowgrpc *API) GetState() []string

GetState returns the current state of the Flow gRPC client manager

func (*API) Init

func (flowgrpc *API) Init()

Init initializes the Flow gRPC client manager

func (*API) RegisterSubscriber

func (flowgrpc *API) RegisterSubscriber() error

RegisterSubscriber registers Flow rack and tray workflows and activities with Temporal

func (*API) Start

func (flowgrpc *API) Start()

Start starts the Flow gRPC client manager

func (*API) UpdateGrpcClientState

func (flowgrpc *API) UpdateGrpcClientState(err error)

UpdateGrpcClientState updates the Flow gRPC client state

Jump to

Keyboard shortcuts

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