packet

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PacketUserDataEndpoint is the local metadata endpoint for Packet.
	PacketUserDataEndpoint = "https://metadata.packet.net/userdata"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Packet

type Packet struct{}

Packet is a discoverer for non-cloud environments.

func (*Packet) Install

func (p *Packet) Install(data *userdata.UserData) (err error)

Install provides the functionality to install talos by downloading the required artifacts and writing them to a target device. nolint: dupl

func (*Packet) Name

func (p *Packet) Name() string

Name implements the platform.Platform interface.

func (*Packet) Prepare

func (p *Packet) Prepare(data *userdata.UserData) (err error)

Prepare implements the platform.Platform interface.

func (*Packet) UserData

func (p *Packet) UserData() (data *userdata.UserData, err error)

UserData implements the platform.Platform interface.

Jump to

Keyboard shortcuts

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