client

package
v0.0.1-alpha5 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package client provides the gpud client for the server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockUntilServerReady

func BlockUntilServerReady(ctx context.Context, addr string, opts ...OpOption) error

func CheckHealthz

func CheckHealthz(ctx context.Context, addr string, opts ...OpOption) error

Types

type Op

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

type OpOption

type OpOption func(*Op)

func WithCheckInterval

func WithCheckInterval(interval time.Duration) OpOption

func WithHTTPClient

func WithHTTPClient(cli *http.Client) OpOption

Jump to

Keyboard shortcuts

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