Documentation ¶
Index ¶
Constants ¶
View Source
const ( Magic = "hedgehog" NOSInstallerName = "nos-install" AgentBinaryName = "agent" AgentConfigName = "agent-config.yaml" AgentKubeConfigName = "agent-kubeconfig" AgentUnitName = "hedgehog-agent.service" AgentUnitContent = `` /* 170-byte string literal not displayed */ )
View Source
const ( WebhookLog = true OnieURLSuffix = "/onie" LogURLSuffix = "/log" KeySerial = "serial" KeyEthAddr = "ethaddr" )
Variables ¶
View Source
var AllowedBootReasons = []string{"install", "rescue"}
Functions ¶
Types ¶
type CountingWriter ¶
type CountingWriter struct {
// contains filtered or unexported fields
}
func NewCountingWriter ¶
func NewCountingWriter(w io.Writer) *CountingWriter
func (*CountingWriter) Bytes ¶
func (cw *CountingWriter) Bytes() uint64
Click to show internal directories.
Click to hide internal directories.