Documentation ¶
Index ¶
- type NetImpl
- func (n *NetImpl) AddrConv(hostCIDR string, pos int) (string, error)
- func (n *NetImpl) GetHostPrimaryIp(ipFam int) (string, error)
- func (n *NetImpl) GetNodeIP(v6Enabled bool) (string, error)
- func (n *NetImpl) GetNodeIdentifier(cfg config.Config) (string, error)
- func (n *NetImpl) IpForHttp(masterIp string) (string, error)
- type NetInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetImpl ¶
type NetImpl struct{}
func (*NetImpl) GetHostPrimaryIp ¶
Gets the host's IP address associated with the default gateway
func (*NetImpl) GetNodeIdentifier ¶
GetNodeIdentifier returns node identifier as Hostname / Node IP
Click to show internal directories.
Click to hide internal directories.