client

package
v0.0.0-...-bf7e782 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectHTTP

func ConnectHTTP(ctx context.Context, deviceConn net.Conn, port uint) error

func ConnectTCP

func ConnectTCP(ctx context.Context, deviceConn net.Conn, port uint) error

func GetAgentMetrics

func GetAgentMetrics(ctx context.Context, deviceConn net.Conn) (*http.Response, error)

func GetDeviceMetrics

func GetDeviceMetrics(ctx context.Context, deviceConn net.Conn) (*http.Response, error)

func GetImagePullProgress

func GetImagePullProgress(ctx context.Context, deviceConn net.Conn, applicationID, service string) (*http.Response, error)

func GetServiceMetrics

func GetServiceMetrics(ctx context.Context, deviceConn net.Conn, applicationID, service string, metricPath string, metricPort uint) (*http.Response, error)

func Reboot

func Reboot(ctx context.Context, deviceConn net.Conn) (*http.Response, error)

func SSH

func SSH(ctx context.Context, deviceConn net.Conn) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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