token

package
v0.0.0-...-2af415a Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnumerateHost

func EnumerateHost() *pb.HostInfo

EnumerateHost enumerates the host for username, hostname, memory, cpu cores and other operating system information.

func Get

func Get(path, addr string, creds credentials.TransportCredentials) (*pbtkn.Token, bool, error)

Get returns the uniquely identifiable token associated with the daemon. If the token file is missing, it requests a new token from the API server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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