Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
// Address is the network address of the instance as specified by the associated ConfigMap entry.
// Must be an IPv4 address or a DNS name that resolves to one.
Address string
// IPv4Address is the IPv4 address associated with the instance's given Address. May be the same value.
IPv4Address string
// Username is the name of a user that can be ssh'd into.
Username string
// NewHostname being set means that the instance's hostname should be changed. An empty value is a no-op.
NewHostname string
// SetNodeIP indicates if the instance should have the node-ip arg set when bootstrapping.
SetNodeIP bool
// Node is an optional pointer to the Node object associated with the instance, if it has one.
Node *core.Node
}
Info represents a instance that is meant to be joined to the cluster
func NewInfo ¶
NewInfo returns a new Info. newHostname being set means that the instance's hostname should be changed. An empty value is a no-op.
func (*Info) UpToDate ¶
UpToDate returns true if the instance was configured by the current WMCO version
func (*Info) UpgradeRequired ¶
UpgradeRequired returns true if the instance needs to go through the upgrade process
Click to show internal directories.
Click to hide internal directories.