Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setClusterstatus (0.2 sec)

  1. cmd/kubeadm/app/util/etcd/etcd.go

    // CheckClusterHealth returns nil for status Up or error for status Down
    func (c *Client) CheckClusterHealth() error {
    	_, err := c.getClusterStatus()
    	return err
    }
    
    // getClusterStatus returns nil for status Up (along with endpoint status response map) or error for status Down
    func (c *Client) getClusterStatus() (map[string]*clientv3.StatusResponse, error) {
    	clusterStatus := make(map[string]*clientv3.StatusResponse)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top