Documentation
¶
Index ¶
- Constants
- Variables
- type API
- func (coregrpc *API) CreateGrpcClient() error
- func (coregrpc *API) GetGrpcClient() *client.CoreGrpcClient
- func (coregrpc *API) GetGrpcClientVersion() int64
- func (coregrpc *API) GetState() []string
- func (coregrpc *API) Init()
- func (coregrpc *API) Start()
- func (coregrpc *API) UpdateGrpcClientState(err error)
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 ¶
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 ¶
GetGrpcClientVersion returns the current version of the Core gRPC client
func (*API) UpdateGrpcClientState ¶
UpdateGrpcClientState updates the Core gRPC client state
Click to show internal directories.
Click to hide internal directories.