device

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Machine goal.Machine
	// contains filtered or unexported fields
}

func NewClient

func NewClient(httpClient *http.Client, baseURL string, token util.Token, network, device string, privateKey goal.Key) (*Client, error)

func (*Client) ReifySpec

func (c *Client) ReifySpec() (latest bool, err error)

func (*Client) SetDNSClient

func (c *Client) SetDNSClient(client dns.Client)

type ContinousClient

type ContinousClient struct {
	Client *Client
	// contains filtered or unexported fields
}

func (*ContinousClient) Step

func (c *ContinousClient) Step() (latest, updated bool, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳