Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Platform ¶
type Platform interface { Name() string Configuration() ([]byte, error) Mode() runtime.Mode Hostname() ([]byte, error) ExternalIPs() ([]net.IP, error) }
Platform is an interface describing a platform.
func NewPlatform ¶
NewPlatform is a helper func for discovering the current platform.
nolint: gocyclo
Click to show internal directories.
Click to hide internal directories.