diagagentclient

package
v9.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiagAgentClient

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

func NewDiagAgentClient

func NewDiagAgentClient(host string, port uint, username string, password string) *DiagAgentClient

func (*DiagAgentClient) Info

func (c *DiagAgentClient) Info() (*InfoResponse, error)

type DiskInfo

type DiskInfo struct {
	BytesTotal  uint64 `json:"bytes_total"`
	BytesFree   uint64 `json:"bytes_free"`
	InodesTotal uint64 `json:"inodes_total"`
	InodesFree  uint64 `json:"inodes_free"`
}

type InfoResponse

type InfoResponse struct {
	Persistent DiskInfo `json:"persistent"`
	Ephemeral  DiskInfo `json:"ephemeral"`
}

Jump to

Keyboard shortcuts

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