info

package
v1.2.20 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info interface {
	Get(ctx context.Context) (system.Info, error)
	//
	Version(ctx context.Context) (types.Version, error)
	//
	Disk(ctx context.Context, opts ...func(cfg *types.DiskUsageOptions)) (types.DiskUsage, error)
}

Info is a client for the info API

func New

func New(client *client.Client) Info

New creates a info client

Jump to

Keyboard shortcuts

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