Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FmtDuration ¶ added in v0.2.0
FmtDuration returns a string representing the duration in the form "72h3m".
Types ¶
type HostInfo ¶
type HostInfo struct { Host string Port int Certs []*x509.Certificate Expired string ExpiredAt time.Time ExpireDays int DryRun bool }
func (*HostInfo) GetKubernetesDistributive ¶ added in v0.2.0
GetKubernetesDistributive returns the kubernetes distributive name.
func (*HostInfo) RenewCertK3s ¶ added in v0.2.0
func (h *HostInfo) RenewCertK3s()
RenewCertK3s renew the certificate of the host for k3s
Click to show internal directories.
Click to hide internal directories.