coregrpc

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: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MetricCoreGrpcStatus - Metric Core gRPC Status
	MetricCoreGrpcStatus = "carbide_health_status" // TODO: rename to core_grpc_health_status without breaking existing Grafana dashboards
)

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 NewCoreGrpcManager

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

NewCoreGrpcManager - returns a new instance of helm manager

func (*API) CreateGrpcClient

func (coregrpc *API) CreateGrpcClient() error

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

func (*API) GetGrpcClient

func (coregrpc *API) GetGrpcClient() *client.CoreGrpcClient

GetGrpcClient gets the Core gRPC client

func (*API) GetGrpcClientVersion

func (coregrpc *API) GetGrpcClientVersion() int64

GetGrpcClientVersion returns the current version of the Core gRPC client

func (*API) GetState

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

GetState returns the current state of the Core gRPC client manager

func (*API) Init

func (coregrpc *API) Init()

Init initializes the Core gRPC client manager

func (*API) Start

func (coregrpc *API) Start()

Start starts the Core gRPC client manager

func (*API) UpdateGrpcClientState

func (coregrpc *API) UpdateGrpcClientState(err error)

UpdateGrpcClientState updates the Core gRPC client state

Jump to

Keyboard shortcuts

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