health

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthClient

type HealthClient struct {
	// contains filtered or unexported fields
}

Client structure

func NewHealthClient

func NewHealthClient(cloudFQDN string, authorizer auth.Authorizer) (*HealthClient, error)

NewClient method returns new client

func (*HealthClient) CheckHealth

func (c *HealthClient) CheckHealth(ctx context.Context, timeoutSeconds uint32) error

CheckHealth

func (*HealthClient) GetAgentInfo

func (c *HealthClient) GetAgentInfo(ctx context.Context) (*common.NodeInfo, error)

GetAgentInfo

func (*HealthClient) GetDeploymentId

func (c *HealthClient) GetDeploymentId(ctx context.Context) (string, error)

GetDeploymentId

type Service

type Service interface {
	CheckHealth(ctx context.Context, timeoutSeconds uint32) error
	GetAgentInfo(context.Context) (*common.NodeInfo, error)
	GetDeploymentId(ctx context.Context) (string, error)
}

Service interfacetype Service interface {

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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