Documentation
¶
Index ¶
- Constants
- Variables
- type API
- func (Flow *API) CreateGRPCClient() error
- func (Flow *API) CreateGRPCClientActivity(ctx context.Context, ResourceID string) (client *client.FlowClient, err error)
- func (Flow *API) GetGRPCClient() *client.FlowClient
- func (f *API) GetGRPCClientVersion() int64
- func (f *API) GetState() []string
- func (f *API) Init()
- func (Flow *API) RegisterGRPC()
- func (api *API) RegisterSubscriber() error
- func (f *API) Start()
- func (Flow *API) UpdateGRPCClientState(err error)
Constants ¶
View Source
const (
// MetricFlowStatus - Metric Flow Status
MetricFlowStatus = "flow_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 NewFlowManager ¶
func NewFlowManager(superForge *elektratypes.Elektra, superAPI *Manager.ManagerAPI, superConf *Manager.ManagerConf) *API
NewFlowManager - returns a new instance of helm manager
func (*API) CreateGRPCClient ¶
CreateGRPCClient - creates the grpc connection handle
func (*API) CreateGRPCClientActivity ¶
func (Flow *API) CreateGRPCClientActivity(ctx context.Context, ResourceID string) (client *client.FlowClient, err error)
CreateGRPCClientActivity - Create GRPC client Activity
func (*API) GetGRPCClient ¶
func (Flow *API) GetGRPCClient() *client.FlowClient
GetGRPCClient - gets the grpc connection handle
func (*API) GetGRPCClientVersion ¶
GetGrpcClientVersion returns the current version of the GRPC client
func (*API) RegisterSubscriber ¶
RegisterSubscriber registers Flow rack and tray workflows and activities with Temporal
func (*API) UpdateGRPCClientState ¶
UpdateGRPCClientState - updates Flow state
Click to show internal directories.
Click to hide internal directories.