Documentation ¶
Index ¶
- Constants
- type Packet
- func (p *Packet) Configuration(ctx context.Context) ([]byte, error)
- func (p *Packet) ExternalIPs(context.Context) (addrs []net.IP, err error)
- func (p *Packet) Hostname(context.Context) (hostname []byte, err error)
- func (p *Packet) KernelArgs() procfs.Parameters
- func (p *Packet) Mode() runtime.Mode
- func (p *Packet) Name() string
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) Configuration ¶
Configuration implements the platform.Platform interface.
func (*Packet) ExternalIPs ¶
ExternalIPs implements the runtime.Platform interface.
func (*Packet) KernelArgs ¶
func (p *Packet) KernelArgs() procfs.Parameters
KernelArgs implements the runtime.Platform interface.
Click to show internal directories.
Click to hide internal directories.