client

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package client is used to create the MonoVertex daemon service client.

There are 2 clients available.

  1. gRPC client func NewGRPCClient(address string) (MonoVertexDaemonClient, error)

  2. RESTful client func NewRESTfulClient(address string) (MonoVertexDaemonClient, error)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonoVertexDaemonClient

type MonoVertexDaemonClient interface {
	io.Closer
	GetMonoVertexMetrics(ctx context.Context) (*mvtxdaemon.MonoVertexMetrics, error)
	GetMonoVertexStatus(ctx context.Context) (*mvtxdaemon.MonoVertexStatus, error)
}

func NewGRPCClient

func NewGRPCClient(address string) (MonoVertexDaemonClient, error)

func NewRESTfulClient

func NewRESTfulClient(address string) (MonoVertexDaemonClient, error)

Jump to

Keyboard shortcuts

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