src/client/admin.go
func (c APIClient) InspectCluster() (*admin.ClusterInfo, error) {
	clusterInfo, err := c.AdminAPIClient.InspectCluster(c.Ctx(), &types.Empty{})
	if err != nil {
		return nil, grpcutil.ScrubGRPC(err)
	}
	return clusterInfo, nil
}
func (c APIClient) InspectCluster() (*admin.ClusterInfo, error) {
	clusterInfo, err := c.AdminAPIClient.InspectCluster(c.Ctx(), &types.Empty{})
	if err != nil {
		return nil, grpcutil.ScrubGRPC(err)
	}
	return clusterInfo, nil
}
func ( c APIClient ) InspectCluster ( ) ( * admin . ClusterInfo , error ) { clusterInfo , err := c . AdminAPIClient . InspectCluster ( c . Ctx ( ) , & types . Empty { } ) if err != nil { return nil , grpcutil . ScrubGRPC ( err ) } return clusterInfo , nil }
// InspectCluster retrieves cluster state
InspectCluster retrieves cluster state