Documentation ¶
Index ¶
- func AddProxyConfigToCluster(oc oc.OcConfig, proxy *network.ProxyConfig) error
- func AddProxyToKubeletAndCriO(sshRunner *ssh.SSHRunner, proxy *network.ProxyConfig) error
- func AddPullSecret(sshRunner *ssh.SSHRunner, oc oc.OcConfig, pullSec string) error
- func CheckProxySettingsForOperator(oc oc.OcConfig, proxy *network.ProxyConfig, deployment, namespace string) (bool, error)
- func DeleteOpenshiftApiServerPods(oc oc.OcConfig) error
- func GetRootPartitionUsage(sshRunner *ssh.SSHRunner) (int64, int64, error)
- func UpdateClusterID(oc oc.OcConfig) error
- func WaitForSsh(sshRunner *ssh.SSHRunner) error
- func WaitforRequestHeaderClientCaFile(oc oc.OcConfig) error
- type CertExpiryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProxyConfigToCluster ¶
func AddProxyConfigToCluster(oc oc.OcConfig, proxy *network.ProxyConfig) error
func AddProxyToKubeletAndCriO ¶
func AddProxyToKubeletAndCriO(sshRunner *ssh.SSHRunner, proxy *network.ProxyConfig) error
AddProxyToKubeletAndCriO adds the systemd drop-in proxy configuration file to the instance, both services (kubelet and crio) need to be restarted after this change. Since proxy operator is not able to make changes to in the kubelet/crio side, this is the job of machine config operator on the node and for crc this is not possible so we do need to put it here.
func AddPullSecret ¶
func GetRootPartitionUsage ¶
Return size of disk, used space in bytes and the mountpoint
func UpdateClusterID ¶
func WaitForSsh ¶
Types ¶
type CertExpiryState ¶
type CertExpiryState int
const ( Unknown CertExpiryState = iota CertNotExpired CertExpired )
func CheckCertsValidity ¶
func CheckCertsValidity(sshRunner *ssh.SSHRunner) (CertExpiryState, error)
CheckCertsValidity checks if the cluster certs have expired or going to expire in next 7 days
Click to show internal directories.
Click to hide internal directories.